Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6703

DefaultUrlNormalizer doesn't normalize all relative URIs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.1
    • 3.6.2
    • None
    • None

    Description

      DefaultUrlNormalizer's tests only cover absolute URLs. Extending the tests to relative URI references (as suggested by MNG-6535) suggests an edge case of "a/../" that should be normalized to the empty string, but which is left unchanged.

      This input should either be rejected, or the behaviour documented or fixed.

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            joe@kafsemo.org Joseph Walton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment