[
https://issues.apache.org/jira/browse/HTTPCLIENT-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tushar Patel updated HTTPCLIENT-2001:
-------------------------------------
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
{code:java}
ProtocolExec#rewriteRequestURI{code}
The final request before execution has the URI as
Version 4.5.6 - *testfolder/My%2BTest%2BData.xml*
Version 4.5.7 onwards - *testfolder/My+Test+Data.xml*
was:
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
{code:java}
ProtocolExec#rewriteRequestURI{code}
The final request before execution has the URI as
Version 4.5.6 - *testfolder/My%2BTest%2BData.xml*
Version 4.5.7 onwards - *testfolder/My+Test+Data.xml*
> Plus sign in URL has stopped working
> ------------------------------------
>
> Key: HTTPCLIENT-2001
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2001
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Affects Versions: 4.5.7, 4.5.8, 4.5.9
> Environment: Windows
> Reporter: Tushar Patel
> Priority: Major
>
> 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
> {code:java}
> ProtocolExec#rewriteRequestURI{code}
>
> The final request before execution has the URI as
> Version 4.5.6 - *testfolder/My%2BTest%2BData.xml*
> Version 4.5.7 onwards - *testfolder/My+Test+Data.xml*
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]