Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.5.3
Description
While using the URIBuilder class to add a query parameter to a url using the addParameter(String param, String value) method, the output of this method would always append a "/" to the beginning of the url.
The problem was first noticed for urls that contained "./" at the beginning, with the resulting url output from addParameter having "/./" at the beginning, The attempted fix was to remove the "./" part of the urls in order to have a relative http path, but using this method would still append a "/" to the beginning, converting the url path to an absolute path instead of the original relative path.
This problem did not occur with versions previous to 4.5.3
Attachments
Issue Links
- is duplicated by
-
HTTPCLIENT-1863 URIBuilder addParameter also adds a slash to the path
- Resolved