google / google/jsonnet

Forbid base64(string) in favor of base64(array)

Open
#815 2 comments 0 reactions 0 assignees View on GitHub
stdlib
Dominant language
Jsonnet
Stars
7.6k
Forks
475
PR merge metrics
No merged PRs in 30d

Description

Applying base64 on string uses a weird encoding. I think we should fail with an error explaining what to use instead (and how to get the old behavior by naively encoding the string).

Right now it's a major footgun, so I think breaking backwards compatibility is worth it here (especially since the fix is easy on the user side).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.