Re: CookieJar.java bug?
Russell Gold <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 31, 2006, at 1:08 PM, Aaron Lee wrote: > Hi, > > In CookieJar.java function getCookieTokens has a line that reads > > st.whitespaceChars(44,44); // comma > > which seems wrong because we should only use semicolon as a > delimiter to separate. > Including comma would make parsing date format wrong: > > e.g. expires=Mon, 31-May-1976 17:07:24 GMT > Can you show an example where HttpUnit is misparsing an actual cookie? The rules are nasty because the spec changed rather dramatically in the early days of cookies.