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

RedirectToUrlException change the second question mark in URL from "?" to "%3F"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.2.0, 8.7.0
    • 7.17.0, 9.0.0, 8.9.0
    • None
    • None

    Description

      String url = "https://test.com/test?https://test.com/test?param=value";
      throw new RedirectToUrlException(url);
      

      It redirects to https://www.test.com/test?https://test.com/test%3Fparam=value

      https://test.com/test?https://test.com/test?param=value is expected.

      Attachments

        1. myproject.zip
          31 kB
          Arkadiy Churilov

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            achurilov Arkadiy Churilov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: