[Webkit-unassigned] [Bug 151408] New: Web Inspector: Storage tab shouldn't hide cookies for .example.com when inspected page is foo.bar.example.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 18 14:26:02 PST 2015


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

            Bug ID: 151408
           Summary: Web Inspector: Storage tab shouldn't hide cookies for
                    .example.com when inspected page is
                    foo.bar.example.com
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Keywords: DoNotImportToRadar
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

The regular expression we use to match resource domains to cookie domains only allows for one subdomain, apparently:

    static cookieDomainMatchesResourceDomain(cookieDomain, resourceDomain)
    {
        if (cookieDomain.charAt(0) !== ".")
            return resourceDomain === cookieDomain;
        return !!resourceDomain.match(new RegExp("^([^\\.]+\\.)?" + cookieDomain.substring(1).escapeForRegExp() + "$"), "i");
    }

See <rdar://problem/23041415>.

-- 
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/20151118/b9b0fd43/attachment-0001.html>


More information about the webkit-unassigned mailing list