* Matt Kraai
| On Sun, Jul 15, 2001 at 07:20:59PM +0200, Eduard Bloch wrote:
| > I was helping a new user to configure his woody installation, and was
| > surprised by some "funny" messages from misc. config script. First, I
| > could find the reason, then I realized that he used an _ underscore in
| > the hostname. Normally this must not be used, but the installer allowed
| > him to do so and "hostname" does not complain about "broken" strings, so
| > the this may be reproduced by newbies, sooner or later. We should
| > install something to check the entries, IMHO.
|
| 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.
--
Tollef Fog Heen
You Can't Win
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]