Skip to content

Commit ac86526

Browse files
committed
sanitize url
1 parent 25823e3 commit ac86526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_app/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def get_infos():
538538

539539
infos = {"app" : "RTKBase",
540540
"app_version" : rtkbaseconfig.get("general", "version"),
541-
"url" : request.base_url,
541+
"url" : html.escape(request.base_url),
542542
"fqdn" : socket.getfqdn(),
543543
"uptime" : get_uptime(),
544544
"hostname" : socket.gethostname()}

0 commit comments

Comments
 (0)