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 62 - Validator does not escape URIs properly.
Summary: Validator does not escape URIs properly.
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.0b2
Hardware: All All
: P2 normal
Target Milestone: 0.6.2
Assignee: Bj
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-31 03:07 UTC by Terje Bless
Modified: 2003-03-01 19:43 UTC (History)
0 users

See Also:


Attachments

Description Terje Bless 2002-10-31 03:07:01 UTC
Reported by Björn Höhrmann:

Consider I have a CGI script taking parameters like <http://www.w3.org/?foo;outline=1>; 
the validator does not escape the URI when creating the "link to /this/ page" text, it will 
produce http://validator.w3.org:8001/check?uri=http://www.w3.org/?foo;outline=1 which 
will be misinterpreted by the validator.
Comment 1 Terje Bless 2002-10-31 03:15:04 UTC
*** Bug 64 has been marked as a duplicate of this bug. ***
Comment 2 Terje Bless 2002-11-03 15:56:41 UTC
I'm going to leave this one for a while. A good solution requires turning the
URI into a URI::URL object -- or at least creating a proper escape function to
be used on-demand -- and that has some potential for side-effects that I don't
want to deal with for the next beta. Leaving target as 0.6.0 Final.
Comment 3 Terje Bless 2002-11-19 10:37:33 UTC
Since the next beta got pushed back I've added a fix for this. It's rather
simplistic but dealt with my test cases. Please retest this Bjorn to very that
it's fixed.
Comment 4 Terje Bless 2002-11-25 22:57:45 UTC
0.6.0 is out the door so retargetting for 0.6.1.
Comment 5 Terje Bless 2002-11-30 14:47:57 UTC
Ping Björn... :-)
Comment 6 Terje Bless 2002-12-03 02:01:48 UTC
Retarget for 0.6.2....
Comment 7 Terje Bless 2003-03-01 14:43:54 UTC
Ping Bjorn and Resolve as FIXED. Reopen the bug if necessary Bjorn.