You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Brian Slesinsky <bs...@wired.com> on 1997/09/09 22:20:08 UTC

mod_proxy/1108: mod_proxy's ProxyPass doesn't work for URL's with %2F in them

>Number:         1108
>Category:       mod_proxy
>Synopsis:       mod_proxy's ProxyPass doesn't work for URL's with %2F in them
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Sep  9 13:20:02 1997
>Originator:     bslesins@wired.com
>Organization:
apache
>Release:        1.2
>Environment:
Solaris, Linux
>Description:
When using a ProxyPass to mirror another server, if %2F ('/') appears in a
directory name it causes a 404 on the proxy server.

There's a similar bug in mod_rewrite for redirects - see #1103
>How-To-Repeat:
ProxyPass /foo http://www.wired.com/news/

http://localhost/foo - this works
http://localhost/foo?%2F - this works
http://localhost/foo/%2F - causes 404 on the local server.  In this case it
  should return the remote server's 404 page.
>Fix:
Provide an alternative to escape_url() that does the right thing?
%0
>Audit-Trail:
>Unformatted: