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(login): don't double encodeURI #11448

Merged
merged 1 commit into from
Jul 10, 2024
Merged

fix(login): don't double encodeURI #11448

merged 1 commit into from
Jul 10, 2024

Conversation

fiji-flo
Copy link
Contributor

@fiji-flo fiji-flo commented Jul 10, 2024

Summary

URLSearchParams.toString() handles this. So we must not encode the parameter.

(MP-1360)

Problem

We double encode and Playground links break when logging in.

Solution

Don't double encode.

URLSearchParams.toString() handles this. So we must not encode the
parameter.
@fiji-flo fiji-flo requested a review from a team as a code owner July 10, 2024 10:14
@fiji-flo fiji-flo merged commit 821f69a into main Jul 10, 2024
14 checks passed
@fiji-flo fiji-flo deleted the fix-login-redirect branch July 10, 2024 10:43
ferdnyc pushed a commit to ferdnyc/yari that referenced this pull request Jul 13, 2024
URLSearchParams.toString() handles this. So we must not encode the
parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants