hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37988] - UserInfo disapears after creating URI
Date Wed, 22 Mar 2006 10:40:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37988>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37988





------- Additional Comments From olegk@apache.org  2006-03-22 10:40 -------
(In reply to comment #16)
> Created an attachment (id=17936)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17936&action=view) [edit]
> Test to show the error
> 
> This is a junit test to demonstrate the problem. As you can see, the
> credentials are lost when constructing a Method.

This is what I pretty much expected. HttpURL is a special case and is expected
to discard username / password from the request URI because HTTP spec requires
user credentials to be passed in the HTTP message header. 

Use URI class instead.

Oleg

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message