www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skip Montanaro <s...@calendar.com>
Subject general/2389: Problem when %2f appears in PATH_INFO
Date Tue, 09 Jun 1998 10:22:22 GMT

>Number:         2389
>Category:       general
>Synopsis:       Problem when %2f appears in PATH_INFO
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jun  9 03:30:00 PDT 1998
>Originator:     skip@calendar.com
>Release:        1.3.0
Red Hat Linux 5.0, gcc, Linux dt09q1n8c 2.0.32 #5 Thu Apr 30 23:01:52 EDT 1998 i586
I was trying to work around a possible Internet Explorer bug, and noticed that
URLs of the form


don't work.  I was purposely encoding / as %2f (which I think ought to be valid)
to try and avoid what appears to be the removal of // or at least collapse of //
to / by MSIE.

The following CGI script demonstrates the problem:


echo "Content-type: text/plain"
echo ""

When invoked as (for example):


the response seen in Netscape is

Not Found

The requested URL /cgi-bin/rdir/http://www.apache.org/ was not found on this server.

If you invoke it as


it works fine.
Unfortunately, no.
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message