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

Base64 decoding fails after the first character #1447

Open
skycommand opened this issue Nov 10, 2024 · 0 comments
Open

Base64 decoding fails after the first character #1447

skycommand opened this issue Nov 10, 2024 · 0 comments

Comments

@skycommand
Copy link

Current behavior

Sometimes I ask DevToys to decode a Base64 string. DevToys returns a single character wherea PowerShell can fully decipher the string.

How to reproduce it (as minimally and precisely as possible)

Ask DevToys to decode this Base64 text:

UwBlAGQAIAB1AHQAIABwAGUAcgBzAHAAaQBjAGkAYQB0AGkAcwAsACAAdQBuAGQAZQAgAG8AbQBuAGkAcwAgAGkAcwB0AGUAIABuAGEAdAB1AHMAIABlAHIAcgBvAHIAIABzAGkAdAAgAHYAbwBsAHUAcAB0AGEAdABlAG0AIABhAGMAYwB1AHMAYQBuAHQAaQB1AG0AIABkAG8AbABvAHIAZQBtAHEAdQBlACAAbABhAHUAZABhAG4AdABpAHUAbQAsACAAdABvAHQAYQBtACAAcgBlAG0AIABhAHAAZQByAGkAYQBtACAAZQBhAHEAdQBlACAAaQBwAHMAYQAsACAAcQB1AGEAZQAgAGEAYgAgAGkAbABsAG8AIABpAG4AdgBlAG4AdABvAHIAZQAgAHYAZQByAGkAdABhAHQAaQBzACAAZQB0ACAAcQB1AGEAcwBpACAAYQByAGMAaABpAHQAZQBjAHQAbwAgAGIAZQBhAHQAYQBlACAAdgBpAHQAYQBlACAAZABpAGMAdABhACAAcwB1AG4AdAAsACAAZQB4AHAAbABpAGMAYQBiAG8ALgAgAE4AZQBtAG8AIABlAG4AaQBtACAAaQBwAHMAYQBtACAAdgBvAGwAdQBwAHQAYQB0AGUAbQAsACAAcQB1AGkAYQAgAHYAbwBsAHUAcAB0AGEAcwAgAHMAaQB0ACwAIABhAHMAcABlAHIAbgBhAHQAdQByACAAYQB1AHQAIABvAGQAaQB0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0AbQBvAGQAaQAgAGMAbwBuAHMAZQBxAHUAYQB0AHUAcgA/ACAAUQB1AGkAcwAgAGEAdQB0AGUAbQAgAHYAZQBsACAAZQB1AG0AIABpAHUAcgBlACAAcgBlAHAAcgBlAGgAZQBuAGQAZQByAGkAdAAsACAAcQB1AGkAIABpAG4AIABlAGEAIAB2AG8AbAB1AHAAdABhAHQAZQAgAHYAZQBsAGkAdAAgAGUAcwBzAGUALAAgAHEAdQBhAG0AIABuAGkAaABpAGwAIABtAG8AbABlAHMAdABpAGEAZQAgAGMAbwBuAHMAZQBxAHUAYQB0AHUAcgAsACAAdgBlAGwAIABpAGwAbAB1AG0ALAAgAHEAdQBpACAAZABvAGwAbwByAGUAbQAgAGUAdQBtACAAZgB1AGcAaQBhAHQALAAgAHEAdQBvACAAdgBvAGwAdQBwAHQAYQBzACAAbgB1AGwAbABhACAAcABhAHIAaQBhAHQAdQByAD8A

DevToys returns:

S

Expected behavior

DevToys should return this instead:

Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo. Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos, qui ratione voluptatem sequi nesciunt, neque porro quisquam est, qui dolorem ipsum, quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit, qui in ea voluptate velit esse, quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo voluptas nulla pariatur?

Screenshots

Expected results (left) vs. actual results (right):

Expected results (left) vs. actual results (right) (opt)

Workaround

No response

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 1.0.14.0 | X64 | RELEASE | 3ad0ff2 | 3ad0ff2

Relevant Assets/Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant