You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/06 21:17:18 UTC
[jira] [Commented] (HTTPCLIENT-1810) URIBuilder.toString() always
adds '/' to path, even with query parameters
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039654#comment-16039654 ]
ASF GitHub Bot commented on HTTPCLIENT-1810:
--------------------------------------------
Github user seancarroll commented on the issue:
https://github.com/apache/httpcomponents-core/pull/37
There still appear to be an issue with normalizePath starting with 4.5.3 which adds a leading '/'. If you do normalizePath("https://www.google.com/"); the result is /https://www.google.com/
> URIBuilder.toString() always adds '/' to path, even with query parameters
> -------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1810
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1810
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Affects Versions: 4.5.3
> Reporter: Osvaldo Pinali Doederlein
> Priority: Minor
> Fix For: 4.5.4
>
>
> I get results like this:
> http://a.io:999/?p1=v1&p2=v2
> previously, it was correct
> http://a.io:999?p1=v1&p2=v2
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org