ietf-822
[Top] [All Lists]

Attention MIME implementors

1992-12-02 15:35:22
I have been getting reports of a MIME implementation which generate headers
such as
        Content-Type: MULTIPART/MIXED; boundary=-----12/01/92-14:05:26-----
It is important to realize that although this is a valid boundary delimiter,
this header line is INVALID and a correct MIME parser WILL NOT parse it.

According to the MIME grammar, the slash (/) character is one of the tspecials
(token specials) which MUST be quoted inside a MIME header.  Thus the proper
form of the above header is:
        Content-Type: MULTIPART/MIXED; boundary="-----12/01/92-14:05:26-----"

The actual delimiters are unquoted, e.g.:
        leader
        -------12/01/92-14:05:26-----
        stuff
        -------12/01/92-14:05:26-------
        trailer

PLEASE PLEASE PLEASE read the MIME grammar carefully.

-- Mark --


<Prev in Thread] Current Thread [Next in Thread>