Skip to content

Commit

Permalink
XWIKI-20612: Sanitize template URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
surli committed Feb 2, 2023
1 parent d547210 commit 5c20ff5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
#end
#set ($cancelURL = $doc.getURL())
#if ($request.xredirect)
## We don't sanitize this as it will be handled by the server
#set ($redirectparam = "&xredirect=$escapetool.url($request.xredirect)")
#set ($cancelURL = $request.xredirect)
#getSanitizedURLAttributeValue('a','href',$request.xredirect,$doc.getURL(),$cancelURL)
#end
#if ($xwiki.hasRecycleBin())
#set ($confirmationMessage = $services.localization.render('core.space.recyclebin.confirm', ["<em>${escapetool.xml($doc.space)}</em>"]))
Expand Down

0 comments on commit 5c20ff5

Please # to comment.