]> granicus.if.org Git - apache/commitdiff
Properly escape the < and >.
authorGraham Leggett <minfrin@apache.org>
Tue, 29 Apr 2014 21:32:49 +0000 (21:32 +0000)
committerGraham Leggett <minfrin@apache.org>
Tue, 29 Apr 2014 21:32:49 +0000 (21:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1591113 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authnz_ldap.xml

index 970e35537fdd27a85f0e1f5bb22cc4f5678e6a9e..1da4cf58c495fb03711779307459d7fba15c798c 100644 (file)
@@ -507,7 +507,7 @@ AuthLDAPMaxSubGroupDepth 1
     LDAP injection. The ldap function can be used for this purpose.</p>
 
 <highlight language="config">
-&lt;LocationMatch ^/dav/(?<SITENAME>[^/]+)/&gt;
+&lt;LocationMatch ^/dav/(?&lt;SITENAME&gt;[^/]+)/&gt;
   Require ldap-filter (memberOf=cn=%{ldap:%{unescape:%{env:MATCH_SITENAME}},ou=Websites,o=Example)
 &lt;/LocationMatch&gt;
 </highlight>
@@ -525,7 +525,7 @@ AuthLDAPMaxSubGroupDepth 1
     LDAP server:</p>
 
 <highlight language="config">
-&lt;LocationMatch ^/dav/(?<SITENAME>[^/]+)/&gt;
+&lt;LocationMatch ^/dav/(?&lt;SITENAME&gt;[^/]+)/&gt;
 Require ldap-search (cn=%{ldap:%{unescape:%{env:MATCH_SITENAME}} Website)
 &lt;/LocationMatch&gt;
 </highlight>