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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to