Re: Empty host in 'http' scheme [#159]

now part of #159
   http://trac.tools.ietf.org/wg/httpbis/trac/ticket/159


On 12/02/2009, at 2:46 AM, Julian Reschke wrote:

>
> Bjoern Hoehrmann wrote:
>> Hi,
>>  According to RFC 2616 under the RFC 2396 interpretation of "host"  
>> and
>> as noted in RFC 3986 the "host" component of the authority in http  
>> URIs
>> cannot be the empty string. draft-ietf-httpbis-p1-messaging-05  
>> however
>> does allow the empty string as host. If that is intentional it  
>> should be
>> pointed out clearly below the definition of the scheme's syntax.
>
> There's a (closed) issue that is somehow related: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/92 
> >, see:
>
>> In other words, part 1 needs to define an empty host is an error  
>> for the http and https schemes.
>> In any case, servers that break based on any network input, valid  
>> or not, are broken.
>
> Seems that we should open a separate issue for that.
>
> BR, Julian
>


--
Mark Nottingham     http://www.mnot.net/

Received on Wednesday, 15 April 2009 06:44:00 UTC