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

MockServletContext does not decode real path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.7.0, 9.0.0-M4
    • Fix Version/s: 9.0.0-M5, 8.8.0
    • Component/s: wicket
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: