Skip to content

Commit 3566e93

Browse files
authored
Merge pull request #713 from DIRACGridBot/cherry-pick-2-596ce115-integration
[sweep:integration] fix: escape url parameters
2 parents 9d525b5 + c25ca53 commit 3566e93

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/WebAppDIRAC/WebApp/handler/RootHandler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ def web_index(self, *, url_state="", theme="crisp", open_app="", **kwargs):
186186
_dev=Conf.devMode(),
187187
logo=data["baseURL"] + Conf.getLogo(),
188188
view="tabs",
189-
theme=theme.lower(),
189+
theme=xhtml_escape(theme.lower()),
190190
title=Conf.getTitle(),
191191
welcome=welcome,
192192
iconUrl=data["baseURL"] + Conf.getIcon(),
193-
open_app=open_app.strip(),
193+
open_app=xhtml_escape(open_app.strip()),
194194
base_url=data["baseURL"],
195195
root_url=Conf.rootURL(),
196196
url_state=xhtml_escape(url_state),

0 commit comments

Comments
 (0)