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 19618] - URI class constructors need revision, optimization
Date Fri, 18 Jul 2003 22:32:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19618>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19618

URI class constructors need revision, optimization





------- Additional Comments From laura@lwerner.org  2003-07-18 22:32 -------
I just looked up java.net.URL and java.net.URI (in JDK 1.4).  java.net.URI's
single-String constructor expects the argument to be already-escaped.  The
JavaDoc for java.net.URL isn't explicit on this, but I know that it doesn't do
automatic escaping for you.  So if we keep a single-argument constructor in
HttpClient, I think it should expect an escaped string.

That's backwards from what I remembered before I looked it up, which shows how
confusing this is (or how tired I am today).

Mime
View raw message