Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-145264: Do not ignore excess Base64 data after the first padded quad#145267

Open
serhiy-storchaka wants to merge 2 commits intopython:mainfrom
serhiy-storchaka:base64-excess-data
Open

gh-145264: Do not ignore excess Base64 data after the first padded quad#145267
serhiy-storchaka wants to merge 2 commits intopython:mainfrom
serhiy-storchaka:base64-excess-data

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedFeb 26, 2026
edited by bedevere-appbot
Loading

Base64 decoder (see binascii.a2b_base64(), base64.b64decode(), etc) no longer ignores excess data after the first padded quad in non-strict (default) mode. Instead, in conformance with RFC 4648, it ignores the pad character, "=", if it is present before the end of the encoded data.

…ded quadBase64 decoder (see binascii.a2b_base64(), base64.b64decode(), etc)no longer ignores excess data after the first padded quad in non-strict(default) mode.  Instead, in conformance with RFC 4648, it ignores thepad character, "=", if it is present before the end of the encoded data.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

awaiting core reviewneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixes

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@serhiy-storchaka

[8]ページ先頭

©2009-2026 Movatter.jp