[ 
https://issues.apache.org/jira/browse/WICKET-5712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153381#comment-14153381
 ] 

ASF subversion and git services commented on WICKET-5712:
---------------------------------------------------------

Commit 145da0212480f26b571208968e299abdfd951e2b in wicket's branch 
refs/heads/master from [~jesselong]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=145da02 ]

WICKET-5712 SecuritySettings.setEnforceMounts() does not work when the mounted 
mapper is not in the root compound mapper

(cherry picked from commit a05aa4cae6145a707698fce9ef73885656589318)

Conflicts:
        
wicket-core/src/main/java/org/apache/wicket/core/request/mapper/BookmarkableMapper.java


> SecuritySettings.setEnforceMounts() does not work when the mounted mapper is 
> not in the root compound mapper
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5712
>                 URL: https://issues.apache.org/jira/browse/WICKET-5712
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.17.0
>            Reporter: Jesse Long
>            Assignee: Jesse Long
>            Priority: Minor
>             Fix For: 6.18.0, 7.0.0-M4
>
>
> BookmarkableMapper.isPageMounted() assumes that all mounted mappers are in 
> Application.getRootRequestMapperAsCompound(). Sometimes the mappers make a 
> tree structure, with multiple compounds existing, sometimes separated by 
> wrappers, like HttpsMapper and CryptoMapper.
> Because of this, BookmarkableMapper fails to realise that a page is mounted 
> and so does not enforce mounting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to