Skip to content

Commit

Permalink
XWIKI-19294: Fix bad escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
tmortagne committed Jan 4, 2022
1 parent 21906ac commit bd93532
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
<form action="$doc.getURL()" method="post">
<input type="hidden" name="form_token" value="$services.csrf.token" />
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="newThemeName" id="newThemeName" value="$request.newThemeName" />
<input type="hidden" name="newThemeName" id="newThemeName" value="$escapetool.xml($request.newThemeName)" />
<input type="submit" value="$services.localization.render('platform.flamingo.themes.home.create.confirm')" class="button"/>
</form>
{{/html}}
Expand Down

0 comments on commit bd93532

Please sign in to comment.