Davide Gesino created HTTPCLIENT-1733:
-----------------------------------------

             Summary: http component redirect fails when redirection URL 
contains not url encoded params
                 Key: HTTPCLIENT-1733
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1733
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.5.3
            Reporter: Davide Gesino
            Priority: Minor


If the Httpclient with "DefaultRedirectStrategy" gets redirected to a URL 
containing pipes, or other chars that need to be URL encoded, the 
DefaultRedirectStrategy will throw a  ProtocolException("Invalid redirect URI: 
" + location, ex), as the 
createLocationURI method at line 188 will create an URI with a "location" not 
properly URL encoded.
This issue is raised also here:
http://stackoverflow.com/questions/18316242/cannot-process-url-with-vertical-pipe-bar-in-java-apache-httpclient
Is it an expected behaviour?



--
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