HTTPCLIENT-1195 - URIBuilder-created query strings are double-escaped

Move normalization from URIUtils to URIBuilder so encodedPath is not dropped
Oops - don't do double normalisation

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1353446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-06-25 09:56:22 +00:00
parent 77ba1e5e0d
commit 9dcf1ebd67
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ public class URIBuilder {
* Sets URI path. The value is expected to be unescaped and may contain non ASCII characters.
*/
public URIBuilder setPath(final String path) {
this.path = normalizePath(path);
this.path = path;
this.encodedSchemeSpecificPart = null;
this.encodedPath = null;
return this;