Last fix for html escape
This commit is contained in:
parent
6d0b42b5a5
commit
fb71a56030
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -123,7 +123,7 @@ def remove_user():
|
|||
db_log.info(f"Deleted user {user_id}")
|
||||
conn.commit()
|
||||
socketio.emit("update", "update")
|
||||
return f'<p>Deleted user {user_name}</p><a href="/list">return to the tags and user list</a>'
|
||||
return f'<p>Deleted user {escape(user_name)}</p><a href="/list">return to the tags and user list</a>'
|
||||
else:
|
||||
return "Error: 043"
|
||||
|
||||
|
|
Loading…
Reference in a new issue