[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [Patch] Underscores in 'make-archive' e-mail
From: |
David Allouche |
Subject: |
Re: [Gnu-arch-users] [Patch] Underscores in 'make-archive' e-mail |
Date: |
Wed, 24 Mar 2004 17:24:26 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Tue, Mar 23, 2004 at 11:26:58PM +0100, Robin Farine wrote:
> Frithjof Engel wrote:
>
> >-#define char_is_alnum_or_dash(c) (char_is_alnum (c) || (c == '-'))
> >+#define char_is_alnum_or_dash(c) (char_is_alnum (c) || (c == '-') || (c
> >== '_'))
> >
> >
>
> Mmm, currently valid host names must not contain an underscore, which
> this patch makes possible. Jean's fix seems more correct if we assume
> that the first part of an archive name has the syntax of an e-mail address.
>
> But I just noticed that tla accepts "address@hidden" as an archive name,
> so maybe the first part of a correct archive name is not strictly
> restricted to valid e-mail addresses?
According to Johannes patch to PyArch (and my few personal tests), tla
accepts archive names of the form:
[a-zA-Z0-9]+(\.[-a-zA-Z0-9]+)address@hidden
Which is a far more lenient than <valid-email>--stuff
If this is, or will become, incorrect, please tell us so PyArch can be
updated.
--
-- ddaa
Re: [Gnu-arch-users] [Patch] Underscores in 'make-archive' e-mail,
David Allouche <=