You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/03/12 14:35:12 UTC

[jira] [Created] (WICKET-5094) ISecuritySettings#getEnforceMounts(true) prevents access to *all* non-mounted bookmarkable pages

Sven Meier created WICKET-5094:
----------------------------------

             Summary: ISecuritySettings#getEnforceMounts(true) prevents access to *all* non-mounted bookmarkable pages
                 Key: WICKET-5094
                 URL: https://issues.apache.org/jira/browse/WICKET-5094
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.6.0
            Reporter: Sven Meier
            Assignee: Sven Meier


ISecuritySettings#setEnforceMounts(true) is meant to be used to prevent access to mounted-pages via BookmarkableMapper, e.g. when Page1.class is mounted:

   http://localhost:8080/niceurl/a/nice/path/to/the/first/page

... then the following url will not be accepted:

   http://localhost:8080/niceurl/wicket/bookmarkable/org.apache.wicket.examples.niceurl.Page1

But in Wicket 6 access to *all* non-mounted pages via BookmarkableMapper is prevented, i.e. no url "http://localhost:8080/niceurl/wicket/bookmarkable/*" is matched.

--
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