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

Fix encoding error in manually approved links #49

Merged
merged 1 commit into from
May 9, 2024
Merged

Fix encoding error in manually approved links #49

merged 1 commit into from
May 9, 2024

Conversation

guillaume-duong-bib
Copy link
Contributor

@guillaume-duong-bib guillaume-duong-bib commented Apr 30, 2024

Fixes mitre/caldera#2968

This is a... Very simple fix, maybe too simple, to the point that I'm wondering really hard what I could have missed.
Here's my reasoning: I do not discuss the implementation of b64DecodeUnicode, just its usage in this case, because the command that gets passed to updateLink is definitely not encoded in Base64.

With this change on top of #48, I am able to approve links in a manual operations and actually have them work.
image

@elegantmoose
Copy link
Collaborator

Great catch.

@elegantmoose
Copy link
Collaborator

Thank you @guillaume-duong-bib !

@elegantmoose elegantmoose merged commit b5f7315 into mitre:master May 9, 2024
1 check failed
@guillaume-duong-bib guillaume-duong-bib deleted the fix-encoding branch May 13, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Encoding error when approving link during manual operation
2 participants