Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show warning when decoding with implicit base 64 padding #1076

Open
notkvwu opened this issue Mar 8, 2024 · 1 comment
Open

Show warning when decoding with implicit base 64 padding #1076

notkvwu opened this issue Mar 8, 2024 · 1 comment
Labels
enhancement Idea of improvement of existing feature. untriaged

Comments

@notkvwu
Copy link

notkvwu commented Mar 8, 2024

What improvement do you think would an existing feature or tool in DevToys?

I work with a system that works with base64 values and DevToys has been a very useful for encoding and decoding those values. One issue we are facing is that our system is strict about the base64 length being divisible by 4. Often, we will try decoding in DevToys and it works fine (since I think DevToys will implicitly add the padding). I definitely see the value of that implicit padding for many use cases, but it makes it harder for us to determine what the issue is.

Solution/Idea

I think it would be good to surface some kind of warning, so it's easy to see that implicit padding has been added, since some systems will not recognize it as properly-formatted base64.

Alternatively, maybe it's possible to make an option to use strict base64 encoding/decoding.

Comments

No response

@notkvwu notkvwu added enhancement Idea of improvement of existing feature. untriaged labels Mar 8, 2024
@stevescruz
Copy link

I faced a similar issue. That would be a great QoL enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Idea of improvement of existing feature. untriaged
Projects
None yet
Development

No branches or pull requests

2 participants