<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Cocoa] WKWebsiteDataStore can be initialized with a configuration where some storage directory is nested in another"
   href="https://bugs.webkit.org/show_bug.cgi?id=169358">169358</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Cocoa] WKWebsiteDataStore can be initialized with a configuration where some storage directory is nested in another
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit API
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mitz&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>beidson&#64;apple.com, ggaren&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>