Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4865

Page parameters not working with CryptoMapper

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.2.0
    • 6.3.0
    • wicket
    • None

    Description

      When CryptoMapper is used, page parameters do not work. This is because the incorrect request is set in the request cycle. The incorrect request contains the encrypted url, where the page parameters are encoded into the url segments. When the CryptoMapper maps a url to a request handler, it should set the request to the correct request when the request handler is selected.

      This was reported on the users@ list, but I have also fallen victim to it when getting urlFor(resourceReference, pageParameters) and the pageParameters not comming out on the other end.

      See:
      http://mail-archives.apache.org/mod_mbox/wicket-users/201211.mbox/%3C50991F74.3050605@unknown.za.net%3E
      https://github.com/jesselong/wicket/commits/for-apache-master-pr-4 (3 commits)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            jesselong Jesse Long
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment