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

Page parameters not working with CryptoMapper

    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

        1. WICKET-4865.patch
          12 kB
          Jesse Long

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: