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

Release v1.99.1 - staging → master #9538

Merged
merged 5 commits into from
Aug 11, 2023
Merged

Release v1.99.1 - staging → master #9538

merged 5 commits into from
Aug 11, 2023

Conversation

hana-akamai
Copy link
Contributor

No description provided.

hana-akamai and others added 5 commits August 11, 2023 11:21
## Description 📝
Follow up to #9494. The previous PR fixed the Cloud crashing issue, but introduced another issue where we were not unescaping the encoded user data. So, when running the `atob` function on the user data, the output string included `%`s instead of just the original string.

reading:
https://base64.guru/developers/javascript/examples/unicode-strings
https://stackoverflow.com/questions/30631927/converting-to-base64-in-javascript-without-deprecated-escape-call (see the second answer by `T S`)

## How to test 🧪
- Add a console log after line 706 to log the user data `console.log(utoa(this.props.userData))`
- Follow the steps in #9494 
- Take the result of the console log and run `atob`
- The result should be readable and not have unexpected characters such as `%`
@hana-akamai hana-akamai added the Release Cloud Manager releases label Aug 11, 2023
@hana-akamai hana-akamai self-assigned this Aug 11, 2023
@cypress
Copy link

cypress bot commented Aug 11, 2023

Passing run #5005 ↗︎

0 193 3 0 Flakiness 0

Details:

Merge pull request #9536 from hana-linode/fix-encoding
Project: Cloud Manager E2E Commit: 6a5d5476ff
Status: Passed Duration: 14:37 💡
Started: Aug 11, 2023 5:30 PM Ended: Aug 11, 2023 5:45 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@bnussman-akamai bnussman-akamai added Add'tl Approval Needed Waiting on another approval! and removed Ready for Review labels Aug 11, 2023
@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Aug 11, 2023
@jdamore-linode
Copy link
Contributor

@hana-linode I completely overlooked the fact that PRs for long lived branches still run Cypress via GitHub Actions, and since that passed there's no reason to wait for the Jenkins run to finish as well (although it looks like it's about to finish too)

@hana-akamai hana-akamai merged commit 593c311 into master Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Release Cloud Manager releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants