Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Fridolin Somers be18ee7aa5 Bug 29853: Add HTML filter before KohaSpan filter
Usage of Template Toolkit plugin KohaSpan as filter is actually :
  Group [% added.title | $KohaSpan class = 'name' | $raw %] created.

But KohaSpan filter does not escape HTML characters.
Whe should filter HTML then KohaSpan.

This patch adds TT html filter before KohaSpan.
Also replaces in Javascript html() with text()
to ensure special caracters are still encoded.
See https://api.jquery.com/text/

Test plan :
1) Create a library with name Libra'rie
2) Create a library group with name Grou'pe
3) Play with this group
4) Add library
5) Remove library
6) Edit group
7) Delete group
8) Each time check that &apos, is not interpreted as single quote

Signed-off-by: Solène Desvaux <solene.desvaux@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-21 15:15:47 -10:00
..
preferences Bug 29617: exclude categorycode from BorrowerUnwantedField 2022-02-16 11:51:11 -10:00
searchengine/elasticsearch
additional-fields.tt
admin-home.tt
adveditorshortcuts.tt
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt
aqplan.tt
audio_alerts.tt
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt Bug 7374: Add remote image option for authorized values 2022-02-10 14:44:23 -10:00
authtypes.tt
background_jobs.tt
biblio_framework.tt
branch_transfer_limits.tt
branches.tt Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
cash_registers.tt
categories.tt Bug 29735: Remove flatpickr init from categories.js and holds.js 2022-01-13 16:37:33 -10:00
checkmarc.tt
cities.tt
classsources.tt
clone-rules.tt
columns_settings.tt
credit_types.tt
currency.tt
debit_types.tt
desks.tt Bug 29832: Use KohaTable 2022-02-10 14:44:23 -10:00
didyoumean.tt
edi_accounts.tt
edi_ean_accounts.tt
item_circulation_alerts.tt Bug 29277: Replace the use of jQueryUI tabs on item circulation alerts page 2022-02-10 14:44:23 -10:00
items_search_field.tt
items_search_fields.tt
itemtypes.tt
koha2marclinks.tt
library_groups.tt Bug 29853: Add HTML filter before KohaSpan filter 2022-02-21 15:15:47 -10:00
localization.tt
marc-overlay-rules.tt
marc_subfields_structure.tt
marctagstructure.tt
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt
preferences.tt Bug 26102: Prevent XSS when To.json is used: admin/preferences.tt 2022-02-02 21:05:29 -10:00
share_content.tt
smart-rules.tt Bug 29844: Fix selenium/administration_tasks.t 2022-02-11 09:11:39 -10:00
sms_providers.tt Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
smtp_servers.tt
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt