Wicket
  1. Wicket
  2. WICKET-4345

CryptoMapper does not work for applications having a home page that needs query parameters

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.5, 6.0.0-beta1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Windows7, IE8

      Description

      CryptoMapper.decryptUrl() should not return null for requests like http://myhost/MyApplication/app/?param=xx

      As a possible fix one can replace

      if (encryptedUrl.getSegments().isEmpty() && encryptedUrl.getQueryParameters().isEmpty())

      { return encryptedUrl; }

      with

      if (encryptedUrl.getSegments().isEmpty()) { return encryptedUrl; }

      but I suspect that the original test is intended to answer to another use case...

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Vincent MATHON
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development