[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2020-01-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2020-01-05 Thread miss-islington
miss-islington added the comment: New changeset 34aa3e71dc52c1a31336302905b9ac011a310412 by Miss Islington (bot) in branch '3.8': bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2020-01-05 Thread miss-islington
miss-islington added the comment: New changeset 3bdb2d9daf3ce41b325bd508e3dd29041e85dd1f by Miss Islington (bot) in branch '3.7': bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2020-01-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +17261 pull_request: https://github.com/python/cpython/pull/17834 ___ Python tracker ___

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2020-01-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +17260 pull_request: https://github.com/python/cpython/pull/17833 ___ Python tracker ___

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2020-01-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b19c0d77e6f25ea831ab608c71f15d0d9266c8c4 by Serhiy Storchaka in branch 'master': bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2019-12-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +17087 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17616 ___ Python tracker

[issue39055] base64.b64decode() with validate=True does not raise for a trailing \n

2019-12-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : If validate=True is passed to base64.b64decode(), it should raise a binascii.Error if the input contains any character not from the acceptable alphabet. But it does not raise if the input ends with a single \n. It raises if the input ends with a