Tech Rams wrote:

Yes, that is true. This flag does not work if there are NL chars in the message (anywhere). Thus, you will have to scan the message to find out if there are NL chars - but the input has to follow some spec - either they do not have any new lines at all, per _http://www.w3.org/TR/xmlschema-2/#base64Binary_ - or they have new lines within 76 chars, per RFC2045.

Unfortunately bitter experience says that you have to support people who do wierd things outside the 76 chars. I also don't want to pre-scan base64 data, which could be megabytes. So I try to avoid using OpenSSL anywhere that it might be an issue now.

Cheers,
        Berin

Reply via email to