Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118051 - Message IDs of new bugs don't conform to RFCs
Summary: Message IDs of new bugs don't conform to RFCs
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeffrey Forman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 08:27 UTC by Alexander Skwar
Modified: 2011-10-30 23:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-01-06 08:27:42 UTC
When I report a new bug, bugzilla sends me an email. This email has message ids of the following form:

Message-ID: <bug-118015-19272@http.bugs.gentoo.org/>

That's not a correct form. The trailing / is wrong.

X-Bugzilla-Reason: Reporter
X-Bugzilla-Product: Gentoo Linux
X-Bugzilla-Component: Applications
Comment 1 Alexander Skwar 2006-01-06 10:09:18 UTC
After reading RfC 2822 more closely, I found this:

message-id      =       "Message-ID:" msg-id CRLF
msg-id          =       [CFWS] "<" id-left "@" id-right ">" [CFWS]
id-left         =       dot-atom-text / no-fold-quote / obs-id-left
id-right        =       dot-atom-text / no-fold-literal / obs-id-right
no-fold-quote   =       DQUOTE *(qtext / quoted-pair) DQUOTE
no-fold-literal =       "[" *(dtext / quoted-pair) "]"
obs-id-left     =       local-part
obs-id-right    =       domain
domain          =       dot-atom / domain-literal / obs-domain
domain-literal  =       [CFWS] "[" *([FWS] dcontent) [FWS] "]" [CFWS]
dcontent        =       dtext / quoted-pair
obs-domain      =       atom *("." atom)
atext           =       ALPHA / DIGIT / ; Any character except controls,
                        "!" / "#" /     ;  SP, and specials.
                        "$" / "%" /     ;  Used for atoms
                        "&" / "'" /
                        "*" / "+" /
                        "-" / "/" /
                        "=" / "?" /
                        "^" / "_" /
                        "`" / "{" /
                        "|" / "}" /
                        "~"
atom            =       [CFWS] 1*atext [CFWS]

The "offending" part is in obs-id-right, which contains a domain which can contain obs-domain which is defined as a sequence of atom followed by more atoms seperated by ".". An atom contains 1 or more atext and an atext can contain, among other characters, a /.

Thus, the id-right is correct.