Bug #6280
open
base64: don't accept = in the middle of a string
Added by Shivani Bhardwaj 9 months ago.
Updated 17 days ago.
Description
A string such as D=aB
is invalid and should be rejected by the parser
- Target version changed from TBD to 8.0.0-beta1
This needs a decision. Our parser would accept such a string in all modes as the string does not have any non base64 alphabet. On popular base64 decoders as well such a string is accepted but it is rejected by some parsers like Python's base64 library as it is incorrect to have padding bytes in the middle of a string.
Should be rejected in strict mode, not in others if it is accepted by popular base64 decoders
Also available in: Atom
PDF