fix: Encode the next url before returning in the form url
All checks were successful
Build Docker / Build Docker (push) Successful in 36s

This commit is contained in:
Nathan Woodburn 2024-06-20 21:02:02 +10:00
parent 6f06ce1600
commit f3249b8727
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -18,6 +18,7 @@ from datetime import timedelta
from eth_account.messages import encode_defunct
from eth_account import Account
import json
import urllib.parse
@ -186,6 +187,9 @@ def home():
if 'domains' in session:
domains = session['domains']
# URL encode the next page
if next_page:
next_page = urllib.parse.quote(next_page)
return render_template("home.html", user=user, clients=clients,