[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838751#action_12838751
 ] 

Ortwin Glück commented on HTTPCLIENT-920:
-----------------------------------------

Even better, try "test:user". I haven't tested recently, but not even browsers 
used to properly escape that.

> HttpURL not escaping passwords correctly
> ----------------------------------------
>
>                 Key: HTTPCLIENT-920
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-920
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.1 Final
>         Environment: All
>            Reporter: Justin Lipton
>
> Using a password such as "test+user" in HttpURL e.g.
> HttpURL url = new HttpURL("testuser", "test+user", webdavServer, webdavPort, 
> path);
> does not work in 3.1 - get a 401 unauthenticated.
> I've confirmed that this does work when using HttpClient 2.0.2
> Have not tried version 4.0.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to