You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/11/24 23:47:58 UTC

[GitHub] [commons-codec] aherbert opened a new pull request #29: [CODEC-270] Base32/64: Fix masked check of the final bits to discard.

aherbert opened a new pull request #29: [CODEC-270] Base32/64: Fix masked check of the final bits to discard.
URL: https://github.com/apache/commons-codec/pull/29
 
 
   Fixed the Base32/64 mask check to ensure it checks all the bits to be discarded are zero.
   
   Added tests that enumerate all possible trailing characters. Only those with zero for the discarded bits should be decoded.
   
   Also fixed the BCodecTest data to use the RFC 1522 "encoded-word" header.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services