]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Encourage best practice of putting complex arguments in quotes.
authorRichard Bowen <rbowen@apache.org>
Sat, 11 May 2013 15:51:24 +0000 (15:51 +0000)
committerRichard Bowen <rbowen@apache.org>
Sat, 11 May 2013 15:51:24 +0000 (15:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481359 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.xml
docs/manual/mod/mod_authz_core.xml

index 1a4c34607e1003976b11829f73ea95ae2e18356e..db339d40adf38207548fddafbb3f0bb1958b69a2 100644 (file)
@@ -536,7 +536,7 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
 
 # Only allow access to this content during business hours
 &lt;Directory "/foo/bar/business"&gt;
-    Require expr %{TIME_HOUR} -gt 9 &amp;&amp; %{TIME_HOUR} -lt 17 
+    Require expr "%{TIME_HOUR} -gt 9 &amp;&amp; %{TIME_HOUR} -lt 17"
 &lt;/Directory&gt;     
        </highlight>
 </section>
index 599c899cb05262fed22a670c0841066e698efbd0..15fea54aa30dfac9621cec3e8a98ea46ba02ca3c 100644 (file)
@@ -218,7 +218,7 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in
   decisions on arbitrary expressions.</p>
 
     <highlight language="config">
-        Require expr %{TIME_HOUR} -ge 9 &amp;&amp; %{TIME_HOUR} -le 17 
+        Require expr "%{TIME_HOUR} -ge 9 &amp;&amp; %{TIME_HOUR} -le 17"
     </highlight>
 
   <p>The syntax is described in the <a href="../expr.html">ap_expr</a>