You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2017/08/01 10:52:00 UTC
[jira] [Resolved] (HTTPCLIENT-1863) URIBuilder addParameter also
adds a slash to the path
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1863.
-------------------------------------------
Resolution: Duplicate
Fix Version/s: 4.5.4
Fixed by HTTPCLIENT-1831.
Oleg
> URIBuilder addParameter also adds a slash to the path
> -----------------------------------------------------
>
> Key: HTTPCLIENT-1863
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1863
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.5.3
> Reporter: Matt Russell
> Fix For: 4.5.4
>
>
> Given the following:
> {code:java}
> new URIBuilder("http://www.example.com").addParameter("foo", "bar")
> {code}
> Expected behaviour (and in 4.5.2): {{http://www.example.com?foo=bar}}
> Actual behaviour (in 4.5.3): {{http://www.example.com/?foo=bar}}
> Probably related to: https://issues.apache.org/jira/browse/HTTPCLIENT-1803
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org