fix: Encode the next url before returning in the form url
All checks were successful
Build Docker / Build Docker (push) Successful in 36s
All checks were successful
Build Docker / Build Docker (push) Successful in 36s
This commit is contained in:
parent
6f06ce1600
commit
f3249b8727
@ -18,6 +18,7 @@ from datetime import timedelta
|
|||||||
from eth_account.messages import encode_defunct
|
from eth_account.messages import encode_defunct
|
||||||
from eth_account import Account
|
from eth_account import Account
|
||||||
import json
|
import json
|
||||||
|
import urllib.parse
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -186,7 +187,10 @@ def home():
|
|||||||
if 'domains' in session:
|
if 'domains' in session:
|
||||||
domains = session['domains']
|
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,
|
return render_template("home.html", user=user, clients=clients,
|
||||||
address=address, hnsid=hnsid, users=users,
|
address=address, hnsid=hnsid, users=users,
|
||||||
|
Loading…
Reference in New Issue
Block a user