Bug 26102: [19.11] Prevent XSS when To.json is used: guarantor_search.tt
To test, edit a patron record and go through the process of adding a guarantor. In the guarantor search results table the address should be displayed correctly. Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
parent
3c3237ca87
commit
2aca4200ec
|
|
@ -32,5 +32,5 @@
|
|||
[%~ IF data.zipcode %][% SET address = address _ data.zipcode _ ' ' %][% END %]
|
||||
[%~ IF data.country %][% SET address = address _ data.country _ ' ' %][% END %]
|
||||
[%~ SET address = address _ Branches.GetName( data.branchcode ) %]
|
||||
[%~ To.json( address ) | $raw ~%]
|
||||
[%~ address | html | $To ~%]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue