https://issues.apache.org/bugzilla/show_bug.cgi?id=46428
Summary: Spaces in URI doesn't encode in proxy-requests
Product: Apache httpd-2
Version: 2.2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
AssignedTo: [email protected]
ReportedBy: [email protected]
Proxy request:
On server1 -
# cat .htaccess
RewriteEngine On
RewriteRule (AAA.*) http://server2.com/phpinfo.php?q=$1 [L,P]
# telnet server1.com 80
GET /AAA%20AAA HTTP/1.1
HOST:server1.com
answer from server2:
QUERY_STRING q=AAA
REQUEST_URI /phpinfo.php?q=AAA
SCRIPT_NAME /phpinfo.php
Usual requst:
# cat .htaccess
RewriteEngine On
RewriteRule (AAA.*) /phpinfo.php?q=$1 [L]
Similar request but the answer is:
QUERY_STRING q=AAA AAA
REQUEST_URI /AAA%20AAA
SCRIPT_NAME /phpinfo.php
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]