Matt Russell created HTTPCLIENT-1863:
----------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]