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 4455 - CSS Validator does not properly escape path of file in GET request
Summary: CSS Validator does not properly escape path of file in GET request
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: upload file (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://k1.dyndns.org/Vintage/Sinclair...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 18:28 UTC by Kio
Modified: 2007-09-27 02:52 UTC (History)
1 user (show)

See Also:


Attachments

Description Kio 2007-04-10 18:28:12 UTC
My web site contains many files with names which contain "problematic" characters, e.g. "space" as in the above example URL.

When checking HTML syntax with "http://validator.w3.org/check/referer" my web server (Apache) gets a correctly escaped path:
"GET /Vintage/Sinclair/80/Timex%20Peripherials/ HTTP/1.1"

For "http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fk1.dyndns.org%2FVintage%2FSinclair%2F80%2FTimex%2520Peripherials%2F"
my web server gets a correctly escaped path:
"GET /Vintage/Sinclair/80/Timex%20Peripherials/ HTTP/1.1"
and the CSS Validator says "OK" for the page.

But for "http://jigsaw.w3.org/css-validator/check/referer" from this page my web server gets an unescaped path:
"GET /Vintage/Sinclair/80/Timex Peripherials/ HTTP/1.1"
and consequently returns a "Bad Request" error to the CSS Validator.

The result page for the successful CSS validation states to use:
"http://jigsaw.w3.org/css-validator/validator?uri=http://k1.dyndns.org/Vintage/Sinclair/80/Timex%20Peripherials/"
or 
"http://jigsaw.w3.org/css-validator/check/referer"
to include in the page itself for later easy CSS validation, as i have done on this page.

Greetings,

    ... kio !
Comment 1 Olivier Thereaux 2007-09-27 02:52:25 UTC
Should be fixed by move to velocity.