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

[Bug 12543] Replacing backslash with forward slash in URIs doesn't seem to be necessitated by web compat

From: <bugzilla@jessica.w3.org>
Date: Sat, 23 Apr 2011 03:31:49 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QDTZV-0002Tm-LM@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12543

--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> 2011-04-23 03:31:48 UTC ---
Gecko does support replacing backslash with forward slash in file: URLs on
Windows and OS/2.

Gecko also supports, on Windows and OS/2, converting backslashes in urls typed
in the url bar (but NOT urls in web pages) to forward slashes, if the scheme is
one of "http", "https", or "ftp".

There are no other cases in which we do such replacement.

See the net_NormalizeFileURL call in nsFileProtocolHandler::NewURI for the
former replacement and the XP_WIN|XP_OS2 block in
nsDefaultURIFixup::CreateFixupURI for the latter fixup.

-- 
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 Saturday, 23 April 2011 03:31:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:08 UTC