You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/09/22 12:09:38 UTC
DO NOT REPLY [Bug 23321] New: -
Underscore in URL causes PostMethod(String url) to ignore port
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=23321>.
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=23321
Underscore in URL causes PostMethod(String url) to ignore port
Summary: Underscore in URL causes PostMethod(String url) to
ignore port
Product: Commons
Version: 1.0 Alpha
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Minor
Priority: Other
Component: HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: fschoenherr@on.com
PostMethod post = PostMethod("https://some_host:8443/server");
System.err.println(post.getURI().toString());
Result: https://some_host/server
(Where is my port? Debugger says that the port of the hostconfiguration is '443').
For comparision:
PostMethod post = PostMethod("https://somehost:8443/server");
System.err.println(post.getURI().toString());
Result: https://some_host:8443/server
This is not severe because it is easy to workaround by editing the
hostconfiguration of the newly created postmethod.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org