W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 14693] New: \ rewriting in URLs never happens?

From: <bugzilla@jessica.w3.org>
Date: Fri, 04 Nov 2011 08:50:32 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-14693-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14693

           Summary: \ rewriting in URLs never happens?
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/spec/urls.html#resolve-a-url
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: julian.reschke@gmx.de
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


See <http://lists.w3.org/Archives/Public/www-tag/2011Nov/0015.html>.

It appears that

"12. If result uses a scheme with a server-based naming authority, replace all
U+005C REVERSE SOLIDUS (\) characters in result with U+002F SOLIDUS (/)
characters."

will never be reached as \ is invalid in URIs, and step 10 is:

"10. Apply any relevant conformance criteria of RFC 3986 and RFC 3987,
returning an error and aborting these steps if appropriate. [RFC3986]
[RFC3987]".

(To be clear: I'm just pointing out a potential bug in the algorithm;
personally I'd prefer not to try rewriting \ in general).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 4 November 2011 08:50:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 November 2011 08:50:41 GMT