[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] [Resolved] (HTTPCLIENT-1733) http component redirect fails when redirection URL contains not 
From:       "Oleg Kalnichevski (JIRA)" <jira () apache ! org>
Date:       2016-03-24 15:09:25
Message-ID: JIRA.12953161.1458815092000.41693.1458832165452 () Atlassian ! JIRA
[Download RAW message or body]


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

Oleg Kalnichevski resolved HTTPCLIENT-1733.
-------------------------------------------
    Resolution: Invalid

Yes, this is expected behavior. HttpClient rejects malformed redirect URLs by \
default.

Oleg

> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic