Skip to content

[3.2 -> 4.0] Do not require trailing = for base64 encoded strings#1892

Merged
heifner merged 3 commits intorelease/4.0from
GH-1461-base64-4.0
Nov 13, 2023
Merged

[3.2 -> 4.0] Do not require trailing = for base64 encoded strings#1892
heifner merged 3 commits intorelease/4.0from
GH-1461-base64-4.0

Conversation

@heifner
Copy link
Contributor

@heifner heifner commented Nov 13, 2023

All previous versions of nodeos required a trailing = for base64 encoded strings. fc::variant appends an extra = for all of its base64 encoded strings. However, non-fc base64 encoders do not add an extra = when one is not needed. This PR modifies fc::variant to support non-fc base64 encoded strings that do not have the extra =.

In 5.0, fc::variant was updated to not add the extra = to base64 encoded strings. See #1888. This PR allows nodeos to support the new 5.0 version of base64 encoded strings.

Merges release/3.2 into release/4.0 including #1889

Issue #1461

@heifner heifner added the OCI Work exclusive to OCI team label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCI Work exclusive to OCI team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants