[Webkit-unassigned] [Bug 26880] New: Cookies with a name of 'domain' not handled correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 02:10:56 PDT 2009


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

           Summary: Cookies with a name of 'domain' not handled correctly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://n.ethz.ch/~lutzp/test.php
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lutzp at gmx.de


When a website tries to set a cookie with a name of 'domain' (apostrophes not
included), WebKit capitalizes the name and sets a cookie called 'Domain'. This
does not happen for differently named cookies. E.g. setting a cookie called
'domains' works as expected.

Steps to reproduce:

1. Go to the URL provided with this bug report.
2. Verify that neither the 'domain' nor the 'Domain' cookies are set.
3. Click the "Set 'domain' cookie" button. This instructs the web server to
generate a corresponding Set-Cookie header.
4. Reload the page and check the cookie values that your browser provides to
the web server.

Expected behavior:

The 'domain' cookie should be set to a value of 1, whereas the 'Domain' cookie
should be left untouched, i.e. unset.

WebKit behavior:

WebKit sets the 'Domain' cookie instead of the 'domain' cookie.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list