From b5dae5e0bb0cc947b794b64222bf31a91468454a Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Sat, 11 May 2013 15:51:24 +0000
Subject: [PATCH] Encourage best practice of putting complex arguments in
quotes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481359 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/expr.xml | 2 +-
docs/manual/mod/mod_authz_core.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/manual/expr.xml b/docs/manual/expr.xml
index 1a4c34607e..db339d40ad 100644
--- a/docs/manual/expr.xml
+++ b/docs/manual/expr.xml
@@ -536,7 +536,7 @@ listfunction ::= listfuncname "(" word ")"
# Only allow access to this content during business hours
<Directory "/foo/bar/business">
- Require expr %{TIME_HOUR} -gt 9 && %{TIME_HOUR} -lt 17
+ Require expr "%{TIME_HOUR} -gt 9 && %{TIME_HOUR} -lt 17"
</Directory>
diff --git a/docs/manual/mod/mod_authz_core.xml b/docs/manual/mod/mod_authz_core.xml
index 599c899cb0..15fea54aa3 100644
--- a/docs/manual/mod/mod_authz_core.xml
+++ b/docs/manual/mod/mod_authz_core.xml
@@ -218,7 +218,7 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in
decisions on arbitrary expressions.
- Require expr %{TIME_HOUR} -ge 9 && %{TIME_HOUR} -le 17
+ Require expr "%{TIME_HOUR} -ge 9 && %{TIME_HOUR} -le 17"
The syntax is described in the ap_expr
--
2.40.0