You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Alan Cabrera (JIRA)" <ji...@apache.org> on 2009/03/06 14:59:56 UTC
[jira] Moved: (KI-14) removeMe cookie path is wrong at deletion if
servlet context path is root ("/")
[ https://issues.apache.org/jira/browse/KI-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Cabrera moved JSEC-64 to KI-14:
------------------------------------
Fix Version/s: (was: 1.0)
Affects Version/s: (was: Incubation)
Key: KI-14 (was: JSEC-64)
Project: Ki (was: JSecurity)
> removeMe cookie path is wrong at deletion if servlet context path is root ("/")
> -------------------------------------------------------------------------------
>
> Key: KI-14
> URL: https://issues.apache.org/jira/browse/KI-14
> Project: Ki
> Issue Type: Bug
> Reporter: Brad Whitaker
> Assignee: Jeremy Haile
> Attachments: CookeiAttribute.calculatePath.patch
>
>
> The fix for JSEC-34 changes the cookie path from "" (empty string) to "/" when the rememberMe cookie is created. The change to the path is not made, however, when the cookie is removed. This prevents the cookie from being removed. The attached patch introduces a new method "calculatePath()" that supplies the path both when the cookie is created and when it is removed. (Feel free to rename the method or make any other change.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.