hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück (JIRA) <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-920) HttpURL not escaping passwords correctly
Date Fri, 26 Feb 2010 08:26:29 GMT

    [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message