mod proxy causes duplicate query strings when nocanon option is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Dave Walker |
Bug Description
Binary package hint: apache2
When mod proxy is used with the nocanon option apache duplicates the
query string arguments in the URL. This is a known bug in 2.2.8 and
was fixed in 2.2.9, c.f.:
<https:/
<http://
To reproduce:
1) Create an apache.conf file, e.g. like:
%%%%%%%
LoadModule proxy_module /usr/lib/
LoadModule proxy_http_module /usr/lib/
Listen 5555
ErrorLog /dev/null
PidFile /dev/null
ProxyPass / http://
ProxyPassReverse / http://
%%%%%%%
Then run apache with it, e.g. apache2 -X -f apache.conf
2) run 'python -m SimpleHTTPServer' in another terminal/
3) finally run 'wget -q -O /dev/null http://
Output from hardy(-updates) apache:
%%%%%%%
localhost - - [19/Oct/2009 23:16:09] code 404, message File not found
localhost - - [19/Oct/2009 23:16:09] "GET /foo?bar?bar HTTP/1.1" 404 -
%%%%%%%
Expected output:
%%%%%%%
localhost - - [19/Oct/2009 23:16:34] code 404, message File not found
localhost - - [19/Oct/2009 23:16:34] "GET /foo?bar HTTP/1.1" 404 -
%%%%%%%
Attached is a dpatch which we're using in production and fixes the
issue for us. Could we please get an SRU with this for hardy?
Related branches
Changed in apache2 (Ubuntu): | |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
Changed in apache2 (Ubuntu): | |
assignee: | Ubuntu Server Team (ubuntu-server) → Canonical Server Team (canonical-server) |
Changed in apache2 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in apache2 (Ubuntu): | |
assignee: | Canonical Server Team (canonical-server) → Chuck Short (zulcss) |
Changed in apache2 (Ubuntu Hardy): | |
assignee: | Chuck Short (zulcss) → Dave Walker (davewalker) |
tags: |
added: verification-failed removed: verification-needed |
tags: |
added: verification-done removed: verification-needed |
I have queued it up for the next upload. Thanks for the patch.
Regards
chuck