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

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

On Mon, Jul 23, 2001 at 12:54:31PM +0200, Kjetil Torgrim Homme wrote:
> Matt Kraai <kraai@debian.org> writes:
> > You mentioned a WIP which would allow non-ASCII characters in the
> > hostname.  Can you please send me a pointer to this document so that
> > I can update the boot-floppies to comply with it?
> This is the website of the IETF WG:
>   http://www.i-d-n.net/
> This is a good summary of what they have set out to do:
>   http://www.ietf.org/internet-drafts/draft-ietf-idn-requirements-08.txt
> It's very early, yet.  But a few things are reasonably clear.  They'll
> use Unicode, they just haven't decided on the encoding.  That is, all
> characters which aren't US-ASCII will probably be added to the list of
> allowed characters.

I don't think so.  According to [1], Appendix F, there are quite a
few prohibited non-ASCII code points.  There are also some
normalization rules.  I'm not sure if the normalizations should be
performed in dbootstrap or in some lower layer, however.

> The limit of 63 octets per name component
> probably won't change, but notice that the number of characters will
> be less, depending on the encoding.
> One thing: It would be good to disallow the use of ASCII Compatible
> Encoding-prefixes.  They look like "xx--", where x is an arbitrary
> letter.

I've never seen these before, this being my first foray into
internationalization.  I'll keep this in mind, however.

Will the input be encoded in UTF-8?


1. http://www.ietf.org/internet-drafts/draft-ietf-idn-nameprep-04.txt

Reply to: