RESOLVED INVALID 21980
KURL doesn't normalize the number of slashes after the scheme
https://bugs.webkit.org/show_bug.cgi?id=21980
Summary KURL doesn't normalize the number of slashes after the scheme
Brett Wilson (Google)
Reported 2008-10-30 12:29:58 PDT
"http:apple.com" and "http:/apple.com" both load and display the incorrect URL in the URL bar. "http:///apple.com" is converted to "http:/apple.com" for reasons I don't understand (maybe NSURL does this). In IE, all of these loads fail. In Firefox, they are all converted to "http://apple.com". Firefox's behavior is better. For known hierarchical schemes such as http, the URL should be treated as hierarchical no matter how many slashes there are, and normalized accordingly.
Attachments
Alexey Proskuryakov
Comment 1 2008-10-31 03:36:51 PDT
Just a side note. This may also be related to file: URLs behavior. Last I checked (long ago), it seemed quite funky in Windows Safari.
Anne van Kesteren
Comment 2 2023-05-22 03:46:08 PDT
KURL is gone, but we also normalize these correctly now.
Note You need to log in before you can comment on or make changes to this bug.