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

MockServletContext does not decode real path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.7.0, 9.0.0-M4
    • 9.0.0-M5, 8.8.0
    • wicket
    • None

    Description

      Since WICKET-6715 Url#getFile() is used to calculate the real-path of resources.

      This method does not properly decode the file path, see https://stackoverflow.com/questions/2166039/java-how-to-get-a-file-from-an-escaped-url

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              svenmeier Sven Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: