Bug 19108: (follow-up) Fix Stored XSS in fieldmapping.pl and items_search_fields.pl
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 16 Aug 2017 11:52:07 +0000 (13:52 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Sep 2017 15:20:51 +0000 (12:20 -0300)
commit624eb9e1f5f7ca87a6d8fbbaef0bbaa3dea3bc21
treeded4cfb4ad946a2bc0da37b2426540afcac29c37
parenta482880352c4e9b363402a83358e1c239fbc1d74
Bug 19108: (follow-up) Fix Stored XSS in fieldmapping.pl and items_search_fields.pl

To test:
- Add a framework with script in the description
- Access the Keywords to MARC mapping page
- Add an item search field where both name and label are script
- Try to edit/delete the added mapping

With the patch no script should be executed and everything
should still work ok.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/fieldmapping.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt