From: Greg W. (JIRA) <ji...@co...> - 2007-01-23 14:59:29
|
[ http://jira.codehaus.org/browse/JETTY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Wilkins reassigned JETTY-219: ---------------------------------- Assignee: Greg Wilkins > cookies with non-alphanumeric values are not handled correctly > -------------------------------------------------------------- > > Key: JETTY-219 > URL: http://jira.codehaus.org/browse/JETTY-219 > Project: Jetty > Issue Type: Bug > Affects Versions: 6.1.0, 6.1.1 > Environment: Linux, running jetty via "mvn jetty:run" > Reporter: Stefan Armbruster > Assigned To: Greg Wilkins > Priority: Critical > Attachments: index.jsp > > > When a cookie value contains some special characters, e.g. like "=", there is a asymmetrical behavior of Jetty. The value of the cookie set does not match the cookie value when retrieving it back. In order to reproduce the problem: > 1) create a small webapp via: mvn archetype:create -DgroupId=mygroup -DartifactId=myartifact -DarchetypeArtifactId=maven-archetype-webapp > 2) Add the jetty plugin to pom.xml > 3) replace index.jsp by the attachment provided with this bug report > 4) call index.jsp in your browser > Since the cookie is set during the first call, you have to reload until you get "false". > Index.jsp works fine on Jetty 6.0.2 (result true) and fails on Jetty 6.1.0 and 6.1.1, -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |