[ grinder-Bugs-3431287 ] Cookie parsing problem in 3.6

SourceForge.net <[email protected]> Mon, 27 Feb 2012 05:20:04 -0800
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3431287, was opened at 2011-10-31 10:20
Message generated for change (Settings changed) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3431287&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Jeremy ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Cookie parsing problem in 3.6

Initial Comment:
Cookie parsing fails for a cookie like:

set_cookie="AAAA=XXX==; path=/; secure; HttpOnly, BBBB=; path=/; secure; HttpOnly; expires=Thursday, 01-Jan-1970 01:00:00 GMT"

Note that there are two cookies here, each with there own "HttpOnly".  The second does not put "HttpOnly" at the end of the cookie value, and the regex ReplaceAlls fail to strip it properly.

This can be corrected by adding a third regex in Cookie.java:

set_cookie = set_cookie.replaceAll("(?i);\\s*HttpOnly;", ";");


----------------------------------------------------------------------

>Comment By: Philip Aston (philipa)
Date: 2012-02-27 05:20

Message:
Fixed for next release - see bug 3489034.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3431287&group_id=18598

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2