[Webkit-unassigned] [Bug 21974] KURL.setProtocol does not re-interpret the URL properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 3 08:44:40 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=21974





--- Comment #1 from Brett Wilson (Google) <brettw at chromium.org>  2010-02-03 08:44:40 PST ---
Here's another case:

original URL:
  http://localhost/e:/foo/
then doing:
  url.setProtocol("file");
should yield:
  file:///e:/

Instead, it yields:
  file://localhost/e:/foo/
which is wrong. If you feed this to KURL again, you'll get it correctly
canonicalized to:
  file:///e:/foo/

Its scary to have cases where:
  KURL(kurl.string) != kurl;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list