[seam-issues] [JBoss JIRA] (JBSEAM-4701) Cookie path being set to empty string via getRequestContextPath forming invalid cookies in IE

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Thu Sep 20 03:16:42 EDT 2012


     [ https://issues.jboss.org/browse/JBSEAM-4701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Schmidt reopened JBSEAM-4701:
-----------------------------------



I can reproduce the problem on Seam2.3.0.CR1 with IE9 on Windows 2k8 and JBoss AS 7.1.1.Final
                
> Cookie path being set to empty string via getRequestContextPath forming invalid cookies in IE
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4701
>                 URL: https://issues.jboss.org/browse/JBSEAM-4701
>             Project: Seam 2
>          Issue Type: Bug
>    Affects Versions: 2.1.2.GA
>            Reporter: Brian Dill
>            Assignee: Marek Novotny
>             Fix For: 2.3.0.ALPHA
>
>         Attachments: ClientUidSelector.patch
>
>
> When using <s:token /> in JSF the javax.faces.ClientToken cookie that is created can potentially have an empty ("") path which will cause it to not be accepted in some versions of Internet Explorer. The following code in ClientUidSelector is the problem.
> setCookiePath(FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath());
> This bug can be manifested as "viewId: /myPage.xhtml - No client identifier provided." I'll try to post a patch file here asap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list