How should Base64.decode() handle invalid encoded data?

rfc2045 says:

   All line breaks or other characters not
   found in Table 1 must be ignored by decoding software.  In base64
   data, characters other than those in Table 1, line breaks, and other
   white space probably indicate a transmission error, about which a
   warning message or even a message rejection might be appropriate
   under some circumstances.

The decode function currently ignores invalid characters, and stops
when it reaches the first pad character.  The caller is not informed
of either occurrence.

Just wondering if the are any use cases that need this information?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to