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 2004/08/03 17:14:14 UTC

DO NOT REPLY [Bug 30447] New: - Parsing urls with underscore and port included

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=30447>.
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=30447

Parsing urls with underscore and port included

           Summary: Parsing urls with underscore and port included
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-httpclient-dev@jakarta.apache.org
        ReportedBy: pato@f2o.org


Sorry by the dummy last post.
I have an url like:  http://my_host.mydomain:8080/path and
httpclient don't guess the port correctly.
The problem seems to be that the underscore in the host part
implies that the port is not parsed, so it remains as default port (80).

Testings done in Windows, Debian and AIX.
When I take off the underscore (mappings done with /etc/host and windows
equivalent) the resulting parsing is ok.

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