Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-566

Add support for URI normalization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Component/s: wagon-http
    • Labels:

      Description

      This is a simple fix for MSITE-738. I have set the priority as Major because that is the priority set for MSITE-738

      Some Repository Managers, e.g. JFrog's Artifactory, do not allow puts to a URL with relative path elements ("." or "..").

      Artifactory are addressing the issue for downloads from remote sites (RTFACT-16457).  Artifactory returns this error:

      "status" : 500,"
      "Path element cannot end with a dot: sites/ ... redacted ... /../"

      The fix is to amend 
      org.apache.maven.wagon.shared.http.EncodeUtils.encodeURL( String url )
       to normalize the returned URI.

      I will create a pull request.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stvricbrown@gmail.com Steve Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified