From adf6ef9e625f44d4a302a94f2b74c6dd090412a9 Mon Sep 17 00:00:00 2001
From: Christophe Jaillet
Date: Tue, 17 Apr 2018 19:33:27 +0000
Subject: [PATCH] Explain when the surrounding double quotes arround the expr
argument MUST be avoided.
Fix an example to add these surrounding quotes to be consistent and in line with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1829390 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_authz_core.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/manual/mod/mod_authz_core.xml b/docs/manual/mod/mod_authz_core.xml
index 40bcc25058..27e7148604 100644
--- a/docs/manual/mod/mod_authz_core.xml
+++ b/docs/manual/mod/mod_authz_core.xml
@@ -180,7 +180,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"
@@ -195,7 +195,8 @@ SetEnvIf User-Agent "^KnockKnock/2\.0" let_me_in
The syntax is described in the ap_expr
- documentation.
+ documentation. Before httpd 2.4.16, the surrounding double-quotes MUST be
+ omitted.
Normally, the expression is evaluated before authentication. However, if
the expression returns false and references the variable
--
2.40.0