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 port to be ignored

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-09-22 12:15 -------
Florian,

The behaviour of HTTPClient of course is incorrect. However having an underscore
in a host name is not valid. It violates both
 RFC 1034 Domain names - concepts and facilities 
 RFC 2396 URI Generic Syntax

A domain name must not contains characters other than A-Z, a-z, 0-9 and "-". No
underscores permittet, sorry. I suggest you change the host name to a standard
format or use the IP address instead.

The question is, if our URI parser is too strict. A general rule should be:
- be strict when you write a standardized format
- be lax when you interprete a standardized format

Maybe a "good" example is HTML. If all browsers were as strict as the specs then
no website on this planet could be parsed...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to