W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2007

[Bug 4455] CSS Validator does not properly escape path of file in GET request

From: <bugzilla@wiggum.w3.org>
Date: Tue, 10 Apr 2007 18:28:13 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1HbL4f-0004D2-J5@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4455

           Summary: CSS Validator does not properly escape path of file in
                    GET request
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
               URL: http://k1.dyndns.org/Vintage/Sinclair/80/Timex%20Periphe
                    rials/
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: upload file
        AssignedTo: dave.null@w3.org
        ReportedBy: kio@little-bat.de
         QAContact: www-validator-cvs@w3.org


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 !
Received on Tuesday, 10 April 2007 18:28:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:56 GMT