httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53483] dangerous PCRE patterns in *Match directives
Date Fri, 29 Jun 2012 02:13:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53483

--- Comment #2 from Christoph Anton Mitterer <calestyo@scientia.net> ---
I just noted that for the same reasons as in comment #1, and again also just
for Directories, but not for locations/aliases etc.

"(?:$|/)"
should be replaceable by:
"/"
(also matching subdirectories

and
"(?:$|/$)"
by:
"(/$)"
(not matching subdirs).



However, even the first one doesn't work with apache2.2
When I give e.g. the pattern
"^/foo/"

i can open the URI
/foo/
/foo/x
but not:
/foo

why??

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message