Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2001

Plus sign in URL has stopped working

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 4.5.7, 4.5.8, 4.5.9
    • None
    • None
    • None
    • Windows

    Description

      We have integrated access to AWS S3 using AWS S3 SDK. We have been using AmazonS3#doesObjectExists for a long time and accessing the below URL for example used to work fine until we bumped httpclient version to 4.5.7

      URL - https://mytestbucket.s3.eu-west-1.amazonaws.com/testfolder/My+Test+Data.xml 

       

      I can see that the problem is because the URI is getting rewritten differently now after the execution of

      ProtocolExec#rewriteRequestURI

       

      The final request before execution has the URI as

      Version 4.5.6 - testfolder/My%2BTest%2BData.xml (Works)

      Version 4.5.7 onwards - testfolder/My+Test+Data.xml (Does not work)

       

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            tpatel Tushar Patel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment