[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#105364: installer allows user to insert underscores in the hostname

Tollef Fog Heen <tollef@add.no> wrote:
> * Matt Kraai 

> | The following patch checks the input for RFC 608 compliance.  OK
> | to apply?

> [snip]

> | +  static const char *valid_hostname_chars =
> | +       "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-";

> What about non-ascii?hostnames?  I know they are not allowed according
> to RFC608, but there are WIPs for it, which we might want to support
> it nevertheless.

Changing the problem box into a yes/no question is probably better.
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply to: