Bug 23420 - forward slash (/) in cookie name prohibits cookie from setting
Summary: forward slash (/) in cookie name prohibits cookie from setting
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://thadenpierce.org/testcookie.php
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 10:02 PST by Kit Pierce
Modified: 2009-01-19 19:13 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kit Pierce 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.
Comment 1 Mark Rowe (bdash) 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.
Comment 2 Kit Pierce 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.
Comment 3 Kit Pierce 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?
Comment 4 Mark Rowe (bdash) 2009-01-19 19:12:06 PST
You should file a bug report at <http://bugreport.apple.com/>.
Comment 5 Kit Pierce 2009-01-19 19:13:20 PST
Thank you.