[Webkit-unassigned] [Bug 169358] New: [Cocoa] WKWebsiteDataStore can be initialized with a configuration where some storage directory is nested in another

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 8 09:37:00 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=169358

            Bug ID: 169358
           Summary: [Cocoa] WKWebsiteDataStore can be initialized with a
                    configuration where some storage directory is nested
                    in another
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org
                CC: beidson at apple.com, ggaren at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170308/745fd34a/attachment.html>


More information about the webkit-unassigned mailing list