https://bz.apache.org/bugzilla/show_bug.cgi?id=60624
Bug ID: 60624
Summary: mod_include DOCUMENT_URI in "if" expression has
different value than when echoed
Product: Apache httpd-2
Version: 2.4.25
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: mod_include
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34657
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34657&action=edit
output
When DOCUMENT_URI is echoed from inside an included file, it shows the path of
the including file. However, when a regexp match is performed on DOCUMENT_URI
within an if expression and the value is printed via a backreference, the
printed value is the path of the included file.
This makes debugging sessions very interesting, and I suspect that most people
simply enable the legacy syntax. As a result, I suspect the new syntax may not
have been sufficiently tested.
--
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]