Revert "Bug 26102: Prevent XSS when To.json is used: authorities/authorities.tt"
This reverts commit 711848f856.
This commit is contained in:
parent
dbc4f4df25
commit
39c42f6a2c
|
|
@ -69,7 +69,7 @@ function AreMandatoriesNotOk(){
|
|||
[% FOREACH subfield_loo IN innerloo.subfield_loop %]
|
||||
[% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id | html %]");
|
||||
tab.push("[% BIG_LOO.number | html %]");
|
||||
label.push("[% To.json(subfield_loo.marc_lib) | html %]");
|
||||
label.push("[% subfield_loo.marc_lib | $raw |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]");
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue