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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to