https://issues.apache.org/bugzilla/show_bug.cgi?id=56235

            Bug ID: 56235
           Summary: quotes should be optional around expr
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authz_core
          Assignee: [email protected]
          Reporter: [email protected]

Example from expr.html:

Require expr "%{TIME_HOUR} -gt 9 && %{TIME_HOUR} -lt 17"

fails with "unexpected $end"

while

Require expr %{TIME_HOUR} -gt 9 && %{TIME_HOUR} -lt 17

(ie, with quotes removed) works as expected. (Doc has since been updated.)

It seems to me that the quotes should be (optionally) permitted around the
expression, as this would be consistent with other modules which use the
expression syntax.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to