summaryrefslogtreecommitdiff
path: root/radsecproxy.conf.5
diff options
context:
space:
mode:
authorlinus <linus>2010-03-16 11:34:12 +0000
committerlinus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2010-03-16 11:34:12 +0000
commitff85d2a1630b78c1e78bb886c1675167a0e9ee35 (patch)
tree0b131a6ccce2f74e8ffdcd79ce9ab436e6cbe4bc /radsecproxy.conf.5
parentd3815dfd3e7f48e0c47499acc173809d973a4ad6 (diff)
Fix two regex examples using back references. Spotted by Kolbjørn Barmen.
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@518 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.conf.5')
-rw-r--r--radsecproxy.conf.54
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.conf.5 b/radsecproxy.conf.5
index a22576e..e385c95 100644
--- a/radsecproxy.conf.5
+++ b/radsecproxy.conf.5
@@ -304,7 +304,7 @@ the request sent by the proxy. The User-Name attribute is written back to the
original value if a matching response is later sent back to the client. The
value must be of the form User-Name:/regexpmatch/replacement/. Example usage:
.RS
-rewriteAttribute User-Name:/^(.*)@local$/$1@example.com/
+rewriteAttribute User-Name:/^(.*)@local$/\\1@example.com/
.RE
.SH "SERVER BLOCK"
The server block is used to configure a server. That is, tell the proxy about a
@@ -544,7 +544,7 @@ attributes. The value must be of the form
a numerical attribute type, regexpmatch is regexp matching rule and
replacement specifies how to replace the matching regexp. Example usage:
.RS
-modifyAttribute 1:/^(.*)@local$/$1@example.com/
+modifyAttribute 1:/^(.*)@local$/\\1@example.com/
.RE
.SH "SEE ALSO"
\fBradsecproxy\fR(1),