Skip to content

Commit

Permalink
XWIKI-20340: Improve import escaping
Browse files Browse the repository at this point in the history
(cherry picked from commit 28905f7)
  • Loading branch information
tmortagne committed Jan 19, 2023
1 parent 1047e8a commit cfa5a93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
## to import from that XAR.
## ---------------------------------------------------------------------------
#else
#set($baseQueryString = "editor=$!{request.editor}&section=$!{request.section}")
#set($baseQueryString = "editor=$!{escapetool.url($request.editor)}&section=$!{escapetool.url($request.section)}")
$xwiki.jsfx.use('js/xwiki/importer/import.js', true)##
$xwiki.ssfx.use('js/xwiki/importer/import.css', true)##
$xwiki.jsfx.use('uicomponents/widgets/upload.js', {'forceSkinAction': true, 'language': ${xcontext.locale}})##
Expand Down

0 comments on commit cfa5a93

Please sign in to comment.