Re: AUTH48 is stuck

"Charles Lindsey" <[email protected]> Tue, 27 Oct 2009 14:32:12 GMT
Newsgroups gmane.ietf.usenet.format
Message-ID <[email protected]>
In <4C0DF3C5C9A9442498E0C571F17B63E2@Iulius> =?Windows-1252?Q?Julien_=C9LIE?= <[email protected]> writes:

>Hi Charles,

>> The problem is that it is agreed it needs to refer to RFC 5532 rather than
>> RFC 2822, but RFC has changed the syntax of Message-ID (considerably
>> simplified it) and this has consequential effects on the corresponding
>> syntax in RFC 5536.

>If I understand well the new syntax in USEFOR, the following message-IDs
>are invalid:

><"test"@test>
><te"st@test>
><test@[te\st]>
><test@[te\\st]>

>whereas the following message-ID is valid:

><test@[te"st]>


>Do you confirm?

Correct. And the same is true in RFC 5322 also. But some strange variants
such as <"te..st@test> are allowed in the present USEFOR syntax.

RFC 5322 disallows _any_ <quoted-string> before the '@', and so all the
funny cases disappear. My proposal is to disallow the same things in
USEFOR

>Syntax in USEFOR is:

N.B. this is the syntax I propose

>   message-id      =  "Message-ID:" SP *WSP msg-id *WSP CRLF

>   msg-id          =  "<" msg-id-core ">"
>                      ; maximum length is 250 octets

>   msg-id-core     =  id-left "@" id-right

>   id-left         =  dot-atom-text

Wheaeas the USEFOR draft currently has

    id-left         =  dot-atom-text / no-fold-quote
followed by a syntax for no-fold-quote

>   id-right        =  dot-atom-text / no-fold-literal

>   no-fold-literal =  "[" *mdtext "]"

>   mdtext          =  %d33-61 /        ; The rest of the US-ASCII
>                      %d63-90 /        ; characters not including
>                      %d94-126         ; ">", "[", "]", or "\"

>with (from RFC 5322):

>   dot-atom-text   =   1*atext *("." 1*atext)

>   atext           =   ALPHA / DIGIT /    ; Printable US-ASCII
>                       "!" / "#" /        ;  characters not including
>                       "$" / "%" /        ;  specials.  Used for atoms.
>                       "&" / "'" /
>                       "*" / "+" /
>                       "-" / "/" /
>                       "=" / "?" /
>                       "^" / "_" /
>                       "`" / "{" /
>                       "|" / "}" /
>                       "~"

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131            Web: http://www.cs.man.ac.uk/~chl
Email: [email protected]      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5