René's URL Explorer Experiment


Title: bpo-43086: Added handling for excess data in binascii.a2b_base64 by idan22moral · Pull Request #24402 · python/cpython · GitHub

Open Graph Title: bpo-43086: Added handling for excess data in binascii.a2b_base64 by idan22moral · Pull Request #24402 · python/cpython

X Title: bpo-43086: Added handling for excess data in binascii.a2b_base64 by idan22moral · Pull Request #24402 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Currently, when providing binascii.a2b_base64() base-64 input with excess data after the padding (=/==), the excess data is ignored. Example: import binascii binascii.a2b_base64(b'aGVsbG8='...

X Description: Currently, when providing binascii.a2b_base64() base-64 input with excess data after the padding (=/==), the excess data is ignored. Example: import binascii binascii.a2b_base64(b'aGVsbG8=&...

Opengraph URL: https://github.com/python/cpython/pull/24402

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:909a69b4-54c9-34a6-5792-4be038f81ba1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD10:339E6E:5EECA9:7EAAB3:6969B539
html-safe-nonce785a6b7f4a78593a50b33e9f59b7b6942eaeb8624d5852105d0d44093e35b5b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDEwOjMzOUU2RTo1RUVDQTk6N0VBQUIzOjY5NjlCNTM5IiwidmlzaXRvcl9pZCI6IjI2OTUzODM1NzgyMjMxNjI2ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0149d9af609bb7cf653bfbfe9ba8f0ec6ef667781c409018875f6452385d031d
hovercard-subject-tagpull_request:564702859
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/24402/commits
twitter:imagehttps://opengraph.githubassets.com/f6b1930ac97f0ae6e96350c9e03eb67ec48dd48e3b999fb2d808df393ff62d9d/python/cpython/pull/24402
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f6b1930ac97f0ae6e96350c9e03eb67ec48dd48e3b999fb2d808df393ff62d9d/python/cpython/pull/24402
og:image:altCurrently, when providing binascii.a2b_base64() base-64 input with excess data after the padding (=/==), the excess data is ignored. Example: import binascii binascii.a2b_base64(b'aGVsbG8='...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameidan22moral
hostnamegithub.com
expected-hostnamegithub.com
Noneb23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0672399d88424758731ec07fe24509e23bb17fb5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/24402/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24402%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24402%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/24402/commits
Reloadhttps://github.com/python/cpython/pull/24402/commits
Reloadhttps://github.com/python/cpython/pull/24402/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/24402/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/24402/commits
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
idan22moral:masterhttps://github.com/idan22moral/cpython/tree/master
Conversationhttps://github.com/python/cpython/pull/24402
Commits26 (26)https://github.com/python/cpython/pull/24402/commits
Checkshttps://github.com/python/cpython/pull/24402/checks
Files changedhttps://github.com/python/cpython/pull/24402/files
bpo-43086: Added handling for excess data in binascii.a2b_base64https://github.com/python/cpython/pull/24402/commits#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
idan22moral:masterhttps://github.com/idan22moral/cpython/tree/master
Added handling for excess data in binascii.a2b_base64https://github.com/python/cpython/pull/24402/commits/52d83e9fa67b7b4cd246f34ecac9689b8cdf266d
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
52d83e9https://github.com/python/cpython/pull/24402/commits/52d83e9fa67b7b4cd246f34ecac9689b8cdf266d
https://github.com/python/cpython/tree/52d83e9fa67b7b4cd246f34ecac9689b8cdf266d
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/24402/commits/557bce8b6bad1387e8f6fc886f9e8fa42c3031bb
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
557bce8https://github.com/python/cpython/pull/24402/commits/557bce8b6bad1387e8f6fc886f9e8fa42c3031bb
https://github.com/python/cpython/tree/557bce8b6bad1387e8f6fc886f9e8fa42c3031bb
Added if-state guardhttps://github.com/python/cpython/pull/24402/commits/6ed5193a3d302e1200cf729bf5eb88d195c3cd72
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
6ed5193https://github.com/python/cpython/pull/24402/commits/6ed5193a3d302e1200cf729bf5eb88d195c3cd72
https://github.com/python/cpython/tree/6ed5193a3d302e1200cf729bf5eb88d195c3cd72
Merge branch 'master' of https://github.com/idan22moral/cpythonhttps://github.com/python/cpython/pull/24402/commits/4ee90f5b89bfd1cc256990a28e4fe83b43de7183
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
4ee90f5https://github.com/python/cpython/pull/24402/commits/4ee90f5b89bfd1cc256990a28e4fe83b43de7183
https://github.com/python/cpython/tree/4ee90f5b89bfd1cc256990a28e4fe83b43de7183
Implemented the strict mode logichttps://github.com/python/cpython/pull/24402/commits/c7b723f4c776be794d3e7626fad62694434e3bb5
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
c7b723fhttps://github.com/python/cpython/pull/24402/commits/c7b723f4c776be794d3e7626fad62694434e3bb5
https://github.com/python/cpython/tree/c7b723f4c776be794d3e7626fad62694434e3bb5
Merge branch 'master' of https://github.com/python/cpythonhttps://github.com/python/cpython/pull/24402/commits/93f497aa218675861df8e3165fcad17a032997aa
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
93f497ahttps://github.com/python/cpython/pull/24402/commits/93f497aa218675861df8e3165fcad17a032997aa
https://github.com/python/cpython/tree/93f497aa218675861df8e3165fcad17a032997aa
Trying to fix the "Check if generated files are up to date" failurehttps://github.com/python/cpython/pull/24402/commits/f6283d9787f763ee925c9a97e0731d345379be40
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
f6283d9https://github.com/python/cpython/pull/24402/commits/f6283d9787f763ee925c9a97e0731d345379be40
https://github.com/python/cpython/tree/f6283d9787f763ee925c9a97e0731d345379be40
Generated function signatures using clinichttps://github.com/python/cpython/pull/24402/commits/cedbb856cb14e13fe5bfc7581fcb49653e071869
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
cedbb85https://github.com/python/cpython/pull/24402/commits/cedbb856cb14e13fe5bfc7581fcb49653e071869
https://github.com/python/cpython/tree/cedbb856cb14e13fe5bfc7581fcb49653e071869
Handle data in the middle of the padding in strict modehttps://github.com/python/cpython/pull/24402/commits/69c96d54e4c1a4992f00cbb0a8f895292b158296
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
69c96d5https://github.com/python/cpython/pull/24402/commits/69c96d54e4c1a4992f00cbb0a8f895292b158296
https://github.com/python/cpython/tree/69c96d54e4c1a4992f00cbb0a8f895292b158296
Added a test for strict modehttps://github.com/python/cpython/pull/24402/commits/3718ebd1c0ee0a8ec4b38f8884ea7a04290670a4
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
3718ebdhttps://github.com/python/cpython/pull/24402/commits/3718ebd1c0ee0a8ec4b38f8884ea7a04290670a4
https://github.com/python/cpython/tree/3718ebd1c0ee0a8ec4b38f8884ea7a04290670a4
Added a test for invalid data as the first characterhttps://github.com/python/cpython/pull/24402/commits/d0b60e23dd5edaf2efa7a1b10192783381529dd2
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
d0b60e2https://github.com/python/cpython/pull/24402/commits/d0b60e23dd5edaf2efa7a1b10192783381529dd2
https://github.com/python/cpython/tree/d0b60e23dd5edaf2efa7a1b10192783381529dd2
Disallowed leading padding in strict modehttps://github.com/python/cpython/pull/24402/commits/afb95dba830961aceda9070d69eb727405fbdd8d
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
afb95dbhttps://github.com/python/cpython/pull/24402/commits/afb95dba830961aceda9070d69eb727405fbdd8d
https://github.com/python/cpython/tree/afb95dba830961aceda9070d69eb727405fbdd8d
Added tests for padding-only inputhttps://github.com/python/cpython/pull/24402/commits/3c5758b63211d2a8a037db018f0632674b179365
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
3c5758bhttps://github.com/python/cpython/pull/24402/commits/3c5758b63211d2a8a037db018f0632674b179365
https://github.com/python/cpython/tree/3c5758b63211d2a8a037db018f0632674b179365
Added tests to validate the default behavior.https://github.com/python/cpython/pull/24402/commits/5f8df5b7768e62919db79e772de027be5206b093
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
5f8df5bhttps://github.com/python/cpython/pull/24402/commits/5f8df5b7768e62919db79e772de027be5206b093
https://github.com/python/cpython/tree/5f8df5b7768e62919db79e772de027be5206b093
Described the changed of this pull requesthttps://github.com/python/cpython/pull/24402/commits/644dbaf5871237da50aa08444e60a6a9b119dce9
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
644dbafhttps://github.com/python/cpython/pull/24402/commits/644dbaf5871237da50aa08444e60a6a9b119dce9
https://github.com/python/cpython/tree/644dbaf5871237da50aa08444e60a6a9b119dce9
Modified syntax of RSThttps://github.com/python/cpython/pull/24402/commits/464484cd1e51d7db33a8235dbd3e5fe81fbad0fb
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
464484chttps://github.com/python/cpython/pull/24402/commits/464484cd1e51d7db33a8235dbd3e5fe81fbad0fb
https://github.com/python/cpython/tree/464484cd1e51d7db33a8235dbd3e5fe81fbad0fb
Updated the docs to explain the strict_mode parameterhttps://github.com/python/cpython/pull/24402/commits/e1ccf8aed107746bf52c21f3cf632760dd183ce2
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
e1ccf8ahttps://github.com/python/cpython/pull/24402/commits/e1ccf8aed107746bf52c21f3cf632760dd183ce2
https://github.com/python/cpython/tree/e1ccf8aed107746bf52c21f3cf632760dd183ce2
Moved declaration of state to the beginning to prevent multiple declaraions under the same scope.https://github.com/python/cpython/pull/24402/commits/d6a5cbfbc688711f6f53596e1722865455eb7957
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
d6a5cbfhttps://github.com/python/cpython/pull/24402/commits/d6a5cbfbc688711f6f53596e1722865455eb7957
https://github.com/python/cpython/tree/d6a5cbfbc688711f6f53596e1722865455eb7957
Merge branch 'main' into masterhttps://github.com/python/cpython/pull/24402/commits/5abc68ff528e8b3f4f31cf40bf14c1bb4628b659
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
5abc68fhttps://github.com/python/cpython/pull/24402/commits/5abc68ff528e8b3f4f31cf40bf14c1bb4628b659
https://github.com/python/cpython/tree/5abc68ff528e8b3f4f31cf40bf14c1bb4628b659
Corrected the RST syntax for argument in docs (italic)https://github.com/python/cpython/pull/24402/commits/08aa26c3435cbc9f599eab7e5d6a87b717294dbd
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
08aa26chttps://github.com/python/cpython/pull/24402/commits/08aa26c3435cbc9f599eab7e5d6a87b717294dbd
https://github.com/python/cpython/tree/08aa26c3435cbc9f599eab7e5d6a87b717294dbd
Corrected the RST syntax for argument in news (italic)https://github.com/python/cpython/pull/24402/commits/2f1990e1e3bc4fcc024ae1fd982221da813b42e9
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
2f1990ehttps://github.com/python/cpython/pull/24402/commits/2f1990e1e3bc4fcc024ae1fd982221da813b42e9
https://github.com/python/cpython/tree/2f1990e1e3bc4fcc024ae1fd982221da813b42e9
Removed whitespace that lead to build failurehttps://github.com/python/cpython/pull/24402/commits/fa959bd54f692807a6268f20403b4f56119bf302
https://github.com/idan22moral
idan22moralhttps://github.com/python/cpython/commits?author=idan22moral
fa959bdhttps://github.com/python/cpython/pull/24402/commits/fa959bd54f692807a6268f20403b4f56119bf302
https://github.com/python/cpython/tree/fa959bd54f692807a6268f20403b4f56119bf302
use self.assertEqual instead of assert ==https://github.com/python/cpython/pull/24402/commits/a60a8c6ec438763b8403d80fb7130276b649e769
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
a60a8c6https://github.com/python/cpython/pull/24402/commits/a60a8c6ec438763b8403d80fb7130276b649e769
https://github.com/python/cpython/tree/a60a8c6ec438763b8403d80fb7130276b649e769
remove leadg `| ` characters in NEWShttps://github.com/python/cpython/pull/24402/commits/03072726fe040ec0057d5d3ac0b995cc58918e35
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
0307272https://github.com/python/cpython/pull/24402/commits/03072726fe040ec0057d5d3ac0b995cc58918e35
https://github.com/python/cpython/tree/03072726fe040ec0057d5d3ac0b995cc58918e35
Simplify the error messages.https://github.com/python/cpython/pull/24402/commits/d26e1ebc086f50f8bc9f2d1ae85600d8279ca9b1
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
d26e1ebhttps://github.com/python/cpython/pull/24402/commits/d26e1ebc086f50f8bc9f2d1ae85600d8279ca9b1
https://github.com/python/cpython/tree/d26e1ebc086f50f8bc9f2d1ae85600d8279ca9b1
update test for error message (Leading vs Malformed)https://github.com/python/cpython/pull/24402/commits/652e7f4e6395947c0e558647a7c46c927f544a7f
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
652e7f4https://github.com/python/cpython/pull/24402/commits/652e7f4e6395947c0e558647a7c46c927f544a7f
https://github.com/python/cpython/tree/652e7f4e6395947c0e558647a7c46c927f544a7f
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.