Bug 21971

Summary: KURL/Safari doesn't handle UNC properly
Product: WebKit Reporter: Brett Wilson (Google) <brettw>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: abarth, annevk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Bug Depends on:    
Bug Blocks: 37641    

Description Brett Wilson (Google) 2008-10-30 09:49:52 PDT
Some IE/Windows compatibility issues I noticed:

file://foo/bar should be treated as UNC like IE. UNC file URLs copied from IE will fail to load in Safari.

Links on web pages of the form "\\foo\bar" should be treated as absolute UNC paths to file://foo/bar.

Relative links of the form "/hello" on pages loaded from a UNC base path of the form "file://foo/bar/" should be "file://foo/hello" rather than "file:/hello"

A more comprehensive set of tests for IE-compatible UNC file path handling is in the CanonicalizeFileURL test in: http://code.google.com/p/google-url/source/browse/trunk/src/url_canon_unittest.cc
Comment 1 Anne van Kesteren 2023-05-22 03:41:08 PDT
We no longer use KURL.