W3C home > Mailing lists > Public > uri@w3.org > July 2004

RE: 255 character limit in reg-name

From: Dave McAlpin <Dave.McAlpin@epok.net>
Date: Fri, 16 Jul 2004 03:29:56 -0400
Message-ID: <1636C74D3A020E4781DC433A4D901D950F15B0@empire.dc.epokinc.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: <uri@w3.org>
It's a good point about buffer overflows, but with the current language about registered names, the 255 character limit seems really arbitrary. Could we remove the hard restriction in the BNF and handle it as a normative SHOULD, justified with your text below?


From: Roy T. Fielding [mailto:fielding@gbiv.com]
Sent: Thu 7/15/2004 2:58 PM
To: Dave McAlpin
Cc: uri@w3.org
Subject: Re: 255 character limit in reg-name

On Thursday, July 15, 2004, at 09:51  AM, Dave McAlpin wrote:
> Since a DNS domain name is only one of many possible types of
> registered names, the 255 character limit on reg-name seems
> unnecessarily restrictive. Can this limit be dropped?

Do you know of any registered name system that registers names larger
than 255 characters?  The purpose of the limit is to allow
to reject (without processing) any URI that seeks to cause a buffer
overflow in the registered name lookup.  Even though the names are not
restricted to DNS, most systems use the DNS interface routines to do
a lookup and those routines are limited to 255 characters, and thus
practical usage of larger names is prevented anyway.

Received on Friday, 16 July 2004 03:33:50 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:45 UTC