RESOLVED INVALID23420
forward slash (/) in cookie name prohibits cookie from setting
https://bugs.webkit.org/show_bug.cgi?id=23420
Summary forward slash (/) in cookie name prohibits cookie from setting
Kit Pierce
Reported 2009-01-19 10:02:53 PST
A cookie named, for instance, "site/sub", will not properly save. Change the name to "site-sub" and it will register properly. In my specific case, the cookie isn't secure, and is set to expire one month from set time. The slash-named cookie was working several several nightlies ago (and still works in other mainstream browsers). Currently broken in r40023.
Attachments
Mark Rowe (bdash)
Comment 1 2009-01-19 11:20:48 PST
Does it also work in Safari? Cookie parsing is not something that WebKit handles, so if this broke recently it likely broke as the result of installing a software update, and should also be broken in stock Safari.
Kit Pierce
Comment 2 2009-01-19 11:53:21 PST
I will craft a generic, public test case this afternoon and post my results this evening. Thanks for the idea.
Kit Pierce
Comment 3 2009-01-19 19:08:29 PST
http://thadenpierce.org/testcookie.php Load the page, then refresh. If the cookie is set, it should report a '1'. Works in latest Firefox, but broken in Webkit nightly *and* Safari. Good call. So, then. To whom should I submit this one?
Mark Rowe (bdash)
Comment 4 2009-01-19 19:12:06 PST
You should file a bug report at <http://bugreport.apple.com/>.
Kit Pierce
Comment 5 2009-01-19 19:13:20 PST
Thank you.
Note You need to log in before you can comment on or make changes to this bug.