Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5e1c8e09258cfc87c6907b65a5f7c72b08e295af https://github.com/WebKit/WebKit/commit/5e1c8e09258cfc87c6907b65a5f7c72b08e295af Author: Fujii Hironori <hironori.fu...@sony.com> Date: 2023-02-23 (Thu, 23 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 Darin Adler and Ross Kirsling. 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): Canonical link: https://commits.webkit.org/260739@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes