Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2347

ServletEnvironment#getResource should not return URL with relative path component

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.10.2
    • Fix Version/s: 14.0-rc-1
    • Component/s: Environment
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      We should always ensure that the URLs returned by ServletEnvironment#getResource are normalized. We don't perform any check on that right now.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: