Commit d0b3b19e authored by Eric Covener's avatar Eric Covener
Browse files

2.4.x only: replace() not backported.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1745211 13f79535-47bb-0310-9956-ffa450edef68
parent 496c794b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -581,13 +581,10 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
    Header set matched true
&lt;/If&gt;

# Function examples in boolean context
# Function example in boolean context
&lt;If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'"&gt;
  Header set checksum-matched true
&lt;/If&gt;
&lt;If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')"&gt;
  Header set checksum-matched-2 true
&lt;/If&gt;

# Function example in string context
Header set foo-checksum "expr=%{md5:foo}"