[webkit-changes] [WebKit/WebKit] 5eba3a: [Win] The generic URL::fileSystemPath has to remov...
Fujii Hironori
noreply at github.com
Tue Feb 21 20:16:57 PST 2023
Branch: refs/heads/eng/Win-The-generic-URLfileSystemPath-has-to-remove-a-leading-slash
Home: https://github.com/WebKit/WebKit
Commit: 5eba3aad6ed600437c2a54a482a2fee0f37243df
https://github.com/WebKit/WebKit/commit/5eba3aad6ed600437c2a54a482a2fee0f37243df
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2023-02-22 (Wed, 22 Feb 2023)
Changed paths:
M Source/WTF/wtf/URL.cpp
M Source/WTF/wtf/cf/URLCF.cpp
Log Message:
-----------
[Win] The generic URL::fileSystemPath has to remove a leading slash
https://bugs.webkit.org/show_bug.cgi?id=252367
Reviewed by NOBODY (OOPS!).
Switched Windows port to use the generic URL::fileSystemPath rather
than one using CF.
URL::fileSystemPath has to remove a leading slash for Windows.
Otherwise it returns a path "/C:/x.txt" for a URL
"file:///C:/x.txt".
* Source/WTF/wtf/URL.cpp:
(WTF::URL::fileSystemPath const):
* Source/WTF/wtf/cf/URLCF.cpp:
(WTF::URL::fileSystemPath const):
More information about the webkit-changes
mailing list