You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/04 09:04:11 UTC
[jira] [Commented] (SHIRO-570) SimpleCookie should check the path
of the cookie
[ https://issues.apache.org/jira/browse/SHIRO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361042#comment-15361042 ]
ASF GitHub Bot commented on SHIRO-570:
--------------------------------------
GitHub user ankon opened a pull request:
https://github.com/apache/shiro/pull/23
SHIRO-570: Only accept a cookie value when the request uses the proper path
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Collaborne/shiro issue/SHIRO-570
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/shiro/pull/23.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #23
----
commit 33e8ce72a30d54a2473ec6f717783cf4459ecb17
Author: Andreas Kohn <an...@gmail.com>
Date: 2016-03-17T14:07:27Z
SHIRO-570: Only accept a cookie value when the request uses the proper path.
----
> SimpleCookie should check the path of the cookie
> ------------------------------------------------
>
> Key: SHIRO-570
> URL: https://issues.apache.org/jira/browse/SHIRO-570
> Project: Shiro
> Issue Type: Bug
> Components: Web
> Affects Versions: 1.2.5
> Reporter: Andreas Kohn
>
> {{SimpleCookie#readValue()}} tries to find the cookie purely by name. In case the cookie is restricted to a specific path, it should not be used unless the request is actually for that path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)