Skip to content

Commit

Permalink
fix: signing up with a redirect url which has a query param goes to a…
Browse files Browse the repository at this point in the history
… 400 page (appsmithorg#13548)
  • Loading branch information
akash-codemonk committed May 10, 2022
1 parent ab3d1d9 commit c0f7c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/ce/pages/UserAuth/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export function SignUp(props: SignUpFormProps) {
formElement &&
formElement.setAttribute(
"action",
`${signupURL}?recaptchaToken=${token}`,
`${signupURL}?${encodeURIComponent(`recaptchaToken=${token}`)}`,
);
formElement && formElement.submit();
});
Expand Down

0 comments on commit c0f7c45

Please sign in to comment.