[Home] [By Thread] [By Date] [Recent Entries]


rsalz@d... (Rich Salz) writes:
>What spec says linebreaks are not allowed in base64?

RFC 2045, page 23: 
http://www.ietf.org/rfc/rfc2045.txt

> These characters, identified in Table 1, below, are
> selected so as to be universally representable, and the set excludes
> characters with particular significance to SMTP (e.g., ".", CR, LF)
> and to the multipart boundary delimiters defined in RFC 2046 (e.g.,
> "-").

On the other hand, page 25 says:
>Any characters outside of the base64 alphabet are to be ignored in
>base64-encoded data.

So maybe there's a case for it.  Or maybe they should use NEL instead of
CRLF!

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com -- http://monasticxml.org

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member