Bug 23451: [18.11.x] Prevent XSS vulnerabilities in opac-imageviewer.pl
And certainly in other sripts as it is in opac-bottom.inc Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
1d27831bcc
commit
a8877cea3b
|
|
@ -195,7 +195,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip);
|
|||
return false;
|
||||
});
|
||||
$("#ulactioncontainer > ul > li > a.addtoshelf").on("click",function(){
|
||||
Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber | html %]');
|
||||
Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber | uri %]');
|
||||
return false;
|
||||
});
|
||||
$("body").on("click", ".addtocart", function(e){
|
||||
|
|
|
|||
Loading…
Reference in New Issue