WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 26391
26880
Cookies with a name of 'domain' not handled correctly
https://bugs.webkit.org/show_bug.cgi?id=26880
Summary
Cookies with a name of 'domain' not handled correctly
Lutz Petersen
Reported
2009-07-01 02:10:56 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-07-01 10:23:55 PDT
<
rdar://problem/7024113
>
Brent Fulgham
Comment 2
2022-02-10 14:09:38 PST
*** This bug has been marked as a duplicate of
bug 26391
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug