WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
21972
Windows drive letters are not handled correctly when resolving relative URLs.
https://bugs.webkit.org/show_bug.cgi?id=21972
Summary
Windows drive letters are not handled correctly when resolving relative URLs.
Brett Wilson (Google)
Reported
2008-10-30 10:02:20 PDT
The relative URL "/foo" when resolved on the base URL "file:///C:/bar" should give "file:///C:/foo" rather than "file:/foo". Note however that "/c:/foo" in this situation should still resolve to "file:///C:/foo". The relative URL "../../../" when resolved against "file:///C:/foo" should give "file:///C:/" rather than "file:/". Links on web pages of the form "c:\foo", "c:/foo", or "c|\foo" should be treated as absolute URLs to "file://C:/foo". This comes up when viewing local pages that have hardcoded paths.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-04-19 09:05:17 PDT
@Fuji - do we have such issue anymore since `win-cairo` is only Windows port as of right now. I am inclined toward to mark this as 'RESOLVED CONFIGURATION CHANGED' or 'WONTFIX' since if we have this issue since 2008, we would have newer bug reports as well.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug