[jdev] base64 line endings
Matthew A. Miller
linuxwolf at outer-planes.net
Wed Apr 19 11:51:09 CDT 2006
Because some implementations can't do the equivalent of "s/\s+//g"
I don't think it's all that difficult to first strip all whitespace from
the base64-encoded text before passing it through the decoder.
Peter Saint-Andre wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Kevin Smith wrote:
>>On 19 Apr 2006, at 13:43, Norman Rasmussen wrote:
>>>1. Most clients add line feeds.
>>>2. JEP-0153 via rfc-2045 suggests adding line feeds.
>>>3. xs:base64Binary spec, via rfc-2045 suggests adding line feeds.
>>>My preferred result to this would be to change the JEP's to say line
>>>feeds SHOULD not be added, but they MUST be accepted.
>>What was the reason for discouraging them in the first place?
> I don't remember.
> - --
> Peter Saint-Andre
> Jabber Software Foundation
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3543 bytes
Desc: S/MIME Cryptographic Signature
More information about the JDev