Skip to content

Commit

Permalink
XWIKI-19746: Escape parameters for translation macro in XWikiServerCl…
Browse files Browse the repository at this point in the history
…assSheet
  • Loading branch information
michitux committed May 20, 2022
1 parent 6048680 commit fc77f9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
$response.sendRedirect($doc.getURL())
#else

{{error}}{{translation key="platform.wiki.sheet.erroraliasalreadynotexists" parameters="$request.domain"/}}{{/error}}
{{error}}{{translation key="platform.wiki.sheet.erroraliasalreadynotexists" parameters="~"${services.rendering.escape($escapetool.java($request.domain), 'xwiki/2.1')}~""/}}{{/error}}

#end
#end
Expand All @@ -118,7 +118,7 @@
$response.sendRedirect($doc.getURL())
#else

{{error}}{{translation key="platform.wiki.sheet.erroraliasdoesnotexists" parameters="$request.domain"/}}{{/error}}
{{error}}{{translation key="platform.wiki.sheet.erroraliasdoesnotexists" parameters="~"${services.rendering.escape($escapetool.java($request.domain), 'xwiki/2.1')}~""/}}{{/error}}

#end
#end
Expand Down

0 comments on commit fc77f9f

Please # to comment.