Summary: | mod_rewrite and mod_proxy handle ';' incorrectly | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Jay McCarthy <jay.mccarthy> |
Component: | mod_rewrite | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.5-HEAD | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other |
Description
Jay McCarthy
2007-06-06 16:50:02 UTC
Are you sure you are using mod_rewrite? because RedirectMatch that is there in the bug description is mod_alias, and it does not take [P] as a parameter AP_INIT_TAKE23("RedirectMatch", add_redirect_regex, (void *) HTTP_MOVED_TEMPORARILY, OR_FILEINFO, "an optional status, then a regular expression and " "destination URL"), RewriteRule on the other hand does take the flag [P], and works perfectly well. ..... RewriteRule ^/(.*)$ http://agneyam.india.sun.com:2000/$1 [P] ..... (echo "GET /foo;bar HTTP/1.0\n\n" ;sleep 1000000) | telnet agneyam 8080 ..... >[ GET /foo;bar HTTP/1.1 Host: agneyam.india.sun.com:2000 Max-Forwards: 10 X-Forwarded-Server: agneyam Connection: Keep-Alive ] If this is indeed mod_rewrite, then it appears also to be 34602. *** This bug has been marked as a duplicate of 34602 *** |