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

Cloned ServletWebRequest returns wrong OriginalUrl

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.3.0
    • Fix Version/s: 6.4.0, 1.5.10
    • Component/s: wicket
    • Labels:
      None

      Description

      ServletWebRequest, when cloned with a new URL, return the incorrect URL from getOriginalUrl(). This presents itself as a problem when using redirect to intercept page in conjunction with a root request mapper that modifies the URL passed to the wrapped request mapper. (incidentally, this does not affect CryptoMapper, since CryptoMapper tries passing both the decrypted and the original, supposedly encrypted, URL to the wrapped request mapper). I have my own path modifying request mapper that is getting affected by this.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              jesselong Jesse Long
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: