Skip to content

🐛 Fix recursion in count_padding - #432

Open
Thalhammer wants to merge 2 commits into
masterfrom
thalhammer/fix-count_padding
Open

Thalhammer wants to merge 2 commits into
masterfrom
thalhammer/fix-count_padding

Conversation

@Thalhammer

Copy link
Copy Markdown
Owner

This changes count_padding to no longer work recursive.
It also changes behaviour to not allow non-uniform padding.
I.e. the padding symbol should stay the same for the entire encoded string.
The previous implementation allowed any padding symbol as long as its part of the accepted set, however this is not following the base64 spec.
Now the padding symbols are required to be identical.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants