NEW 169358
[Cocoa] WKWebsiteDataStore can be initialized with a configuration where some storage directory is nested in another
https://bugs.webkit.org/show_bug.cgi?id=169358
Summary [Cocoa] WKWebsiteDataStore can be initialized with a configuration where some...
mitz
Reported 2017-03-08 09:37:00 PST
It’s possible to initialize a WKWebsiteDataStore with a _WKWebsiteDataStoreConfiguration in which one of the directories is nested in another one of the directories. Because WebKit owns the namespace under each one of the storage directories, this can lead to inconsistencies (for example, if one of the directories is given a name that WebKit wants to use as a top-level file in one of the other directories, such as Databases.db, or as a subdirectory in one of the other directories, such as http_www.webkit.org_0). I think WKWebsiteDataStore should raise an exception if such nesting occurs.
Attachments
Note You need to log in before you can comment on or make changes to this bug.