You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/09/16 07:39:44 UTC
[jira] Resolved: (WICKET-1834) Invalid Cookie Names for persistence
used according to RFC (doesn't work in tomcat 6.x)
[ https://issues.apache.org/jira/browse/WICKET-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1834.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4-M4
1.3.5
Assignee: Igor Vaynberg
> Invalid Cookie Names for persistence used according to RFC (doesn't work in tomcat 6.x)
> ---------------------------------------------------------------------------------------
>
> Key: WICKET-1834
> URL: https://issues.apache.org/jira/browse/WICKET-1834
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-M3
> Reporter: Andreas Sahlbach
> Assignee: Igor Vaynberg
> Fix For: 1.3.5, 1.4-M4
>
>
> Wicket uses ":" to build up the cookie name out of different components (e.g."signInPanel:signInForm:username"). This violates the cookie spec (RFC 2965 and RFC 2616). According to this spec a cookie must be an av-pair
> av-pairs = av-pair *(";" av-pair)
> av-pair = attr ["=" value] ; optional value
> attr = token
> value = token | quoted-string
> and token is:
> token = 1*<any CHAR except CTLs or separators>
> separators = "(" | ")" | "<" | ">" | "@"
> | "," | ";" | ":" | "\" | <">
> | "/" | "[" | "]" | "?" | "="
> | "{" | "}" | SP | HT
> Note that the cookie name MUST be a token and a token MUST NOT contain ":"
> That's why tomcat 6.x delivers (correctly with best guess) "signInPanel" as cookie name for the above example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.