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 21:21:38 UTC

DO NOT REPLY [Bug 23333] New: - possible to create bad http urls without generating an exception

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

possible to create bad http urls without generating an exception

           Summary: possible to create bad http urls without generating an
                    exception
           Product: Commons
           Version: 2.0 Milestone 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-httpclient-dev@jakarta.apache.org
        ReportedBy: garry@ascii-turf.net


i found that a url such as:

http:www.fish.com

or even:

http:

pass the validation tests but for example when you try to get the host name for the url it returns a 
null.

i don't know if this is even a bug - it might be an unavoidable consequence of the specs - but it 
seemed bad to me.

thanks

garry

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