[MacCafé] From mal formé (was: Annulations abusif)

Liste des GroupesRevenir à fcu lecteurs-de-news 
Sujet : [MacCafé] From mal formé (was: Annulations abusif)
De : om+news (at) *nospam* miakinen.net (Olivier Miakinen)
Groupes : fr.usenet.abus.d fr.comp.usenet.lecteurs-de-news
Suivi-à : fr.comp.usenet.lecteurs-de-news
Date : 02. Oct 2021, 11:30:30
Autres entêtes
Organisation : There's no cabale
Message-ID : <sj9cc6$ns5$1@cabale.usenet-fr.net>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
[diapublication avec suivi]

Le 02/10/2021 00:10, Rambo a écrit :
 
Et çà c'est quoi ?
 
[...]
From: Souris 8-) <souris@meta-science.fr>

C'est un From mal formé, parce que la parenthèse ne fait pas partie
des caractères autorisés en dehors des guillemets -- ou alors par
paires « parenthèse ouvrante / parenthèse fermante » pour en faire
un commentaire.

MacCafé devrait le détecter, et le mettre entre guillemets :
 From: "Souris 8-)" <souris@meta-science.fr>

Voir la fin de cet article les éléments de syntaxe tirés du RFC5322
permettant de savoir quand il faut mettre des guillemets et quand ce
n'est pas nécessaire.

[suivi positionné vers fr.comp.usenet.lecteurs-de-news]

=====================================================================

https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.2

   from            =   "From:" mailbox-list CRLF

https://datatracker.ietf.org/doc/html/rfc5322#section-3.4

   mailbox-list    =   (mailbox *("," mailbox)) / obs-mbox-list
   mailbox         =   name-addr / addr-spec
   name-addr       =   [display-name] angle-addr
   display-name    =   phrase

https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.5

   phrase          =   1*word / obs-phrase
   word            =   atom / quoted-string

https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3

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

https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.4

   quoted-string   =   [CFWS]
                       DQUOTE *([FWS] qcontent) [FWS] DQUOTE
                       [CFWS]
   qcontent        =   qtext / quoted-pair
   qtext           =   %d33 /             ; Printable US-ASCII
                       %d35-91 /          ;  characters not including
                       %d93-126 /         ;  "\" or the quote character
                       obs-qtext


--
Olivier Miakinen

Date Sujet#  Auteur
2 Oct 21 * [MacCafé] From mal formé (was: Annulations abusif)12Olivier Miakinen
2 Oct 21 `* Re: [MacCafé] From mal formé11M.V.
2 Oct 21  `* Re: [MacCafé] From mal formé10Olivier Miakinen
2 Oct 21   +* Re: [MacCafé] From mal formé8Olivier Miakinen
2 Oct 21   i+* Re: [MacCafé] From mal formé3Gilbert OLIVIER
2 Oct 21   ii`* Re: [MacCafé] From mal formé2Olivier Miakinen
3 Oct 21   ii `- Re: [MacCafé] From mal formé1Gilbert OLIVIER
3 Oct 21   i`* Re: [MacCafé] From mal formé4Gilbert OLIVIER
3 Oct 21   i +- Re: [MacCafé] From mal formé1LaLibreParole
3 Oct 21   i +- Re: [MacCafé] From mal formé1M.V.
3 Oct 21   i `- Re: [MacCafé] From mal formé1Olivier Miakinen
2 Oct 21   `- Re: [MacCafé] From mal formé1M.V.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal