This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 41 - Trailing slash on /check/ breaks relative links.
Summary: Trailing slash on /check/ breaks relative links.
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.0b1
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact:
URL: http://validator.w3.org:8001/check/?u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-26 20:01 UTC by Terje Bless
Modified: 2002-10-27 16:05 UTC (History)
0 users

See Also:


Attachments

Description Terje Bless 2002-10-26 20:01:26 UTC
If you call the check script with a trailing slash [...] all relative
links stop working, e.g. the link to the style sheet referenced in the
result page. The script should redirect to /check without a trailing slash.
Comment 1 Terje Bless 2002-10-27 10:58:26 UTC
Hmmm. Anything in PATH_INFO will throw off browsers.
Comment 2 Terje Bless 2002-10-27 11:05:13 UTC
Fixed. We now redirect to /check if there is gunk in PATH_INFO that does not
match "/referer".