www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Stratton <je...@acusd.edu>
Subject general/3543: .cgi and .shtml files can have /text at the end of the URL, resulting in broken links
Date Wed, 16 Dec 1998 20:18:40 GMT

>Number:         3543
>Category:       general
>Synopsis:       .cgi and .shtml files can have /text at the end of the URL, resulting
in broken links
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 16 12:20:00 PST 1998
>Originator:     jerry@acusd.edu
>Release:        1.3.3/Unix
SunOS www 5.5.1 Generic_103640-21 sun4u sparc SUNW,Ultra-1
When a browser requests an AddHandler-handled file (.cgi, .shtml), and the
user or the web page they're coming from has erroneously added a trailing
slash and possibly other characters, an error 404 is *not* generated. The
page is passed to the browser as if the trailing slash and anything beyond
it didn't exist. This means that any relative links on the page stop



will serve the sched.shtml page, working almost fine: except that the
locally-stored image does not load, because the browser (correctly)
requests an image in the ".../sched.shtml/" directory--which of course
doesn't exist. And any local links simply come right back to the
sched.shtml page.

Another server I use that runs Apache 1.2b11 also exhibits this behavior.

[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. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message