Skip to content

Commit 2fa8ee6

Browse files
Potential fix for code scanning alert no. 12: URL redirection from remote source
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent a7563dd commit 2fa8ee6

File tree

1 file changed

+1
-1
lines changed
  • src/thunderbird_accounts/authentication

1 file changed

+1
-1
lines changed

src/thunderbird_accounts/authentication/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def sign_up(request: HttpRequest):
106106

107107
if not is_email_in_allow_list(email):
108108
# Redirect the user to the tbpro waitlist
109-
return HttpResponseRedirect(f'{settings.TB_PRO_WAIT_LIST_URL}?email={email}')
109+
return HttpResponseRedirect(f'{settings.TB_PRO_WAIT_LIST_URL}?email={quote(email)}')
110110

111111
# Make sure there's no email alias with this address
112112
if is_address_taken(username):

0 commit comments

Comments
 (0)