[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Idan Sheinberg updated HTTPCLIENT-1708:
---------------------------------------
    Description: 
Hey Guys

Trying to send an httpclient HttpHead request for the following url  - 
'http://cdn.adap.tv/amnetcanadaplatform/HomeDépot_Électros_WEB22s_FR_COMPRESSED-12142015112448-280.mp4'
I Notice it gets escaped as 
'http://cdn.adap.tv/amnetcanadaplatform/HomeD%C3%A9pot_%C3%89lectros_WEB22s_FR_COMPRESSED-12142015112448-280.mp4'
While other programs/utilities/frameworks expect it to be 
'http://cdn.adap.tv/amnetcanadaplatform/HomeDe%CC%81pot_E%CC%81lectros_WEB22s_FR_COMPRESSED-12142015112448-280.mp4'

I've done some digging up the source code and tracked the issue down  to  
"toASCIIString()" of the Java URI object being called in order to retrieve the 
request line



> Issues With Extended ASCII ( Latin Chars ) Escaping with HttpClient 4.5.1
> -------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1708
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1708
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.5.1
>         Environment: Ubuntu Variant 15.04
> Netbeans 8.1 IDE
> Java 8 ( Oracle JDK 1.8.6x)
>            Reporter: Idan Sheinberg
>
> Hey Guys
> Trying to send an httpclient HttpHead request for the following url  - 
> 'http://cdn.adap.tv/amnetcanadaplatform/HomeDépot_Électros_WEB22s_FR_COMPRESSED-12142015112448-280.mp4'
> I Notice it gets escaped as 
> 'http://cdn.adap.tv/amnetcanadaplatform/HomeD%C3%A9pot_%C3%89lectros_WEB22s_FR_COMPRESSED-12142015112448-280.mp4'
> While other programs/utilities/frameworks expect it to be 
> 'http://cdn.adap.tv/amnetcanadaplatform/HomeDe%CC%81pot_E%CC%81lectros_WEB22s_FR_COMPRESSED-12142015112448-280.mp4'
> I've done some digging up the source code and tracked the issue down  to  
> "toASCIIString()" of the Java URI object being called in order to retrieve 
> the request line



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to