Koha-clms/Koha/Template/Plugin
Kyle M Hall b1bd7ec29a Bug 30524: (QA follow-up) Only generate CSRF token if it will be used
This patch avoids generating CSRF tokens unless the csrf-token.inc file
is included in the template.

Passed token doesn't need HTML escaped. The docs for WWW::CSRF state:
  The returned CSRF token is in a text-only form suitable for inserting into a HTML form without further escaping (assuming you did not send in strange things to the Time option).

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ddf1eb6cef14da365675890920ff72f010c59527)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 73ca151686b682aaa2b950ccbc89fcec14514112)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-07-28 11:15:08 +00:00
..
AdditionalContents.pm
…
Asset.pm
…
AudioAlerts.pm
…
AuthClient.pm Bug 33708: Provide non-public endpoint for OAuth/OIDC for staff interface 2023-06-08 16:51:21 +00:00
AuthorisedValues.pm
…
Biblio.pm Bug 30291: Changes to controller scripts 2022-05-05 11:17:36 -10:00
Branches.pm
…
Cache.pm
…
Categories.pm Bug 32127: Sort by description in Koha::Template::Plugin::Categories 2023-04-18 12:05:37 +00:00
CirculationRules.pm Bug 30901: Add POD for Koha::Template::Plugin::CirculationRules 2022-08-16 10:43:10 -03:00
Context.pm
…
Desks.pm
…
HtmlId.pm
…
HtmlTags.pm
…
I18N.pm
…
ItemTypes.pm Bug 29454: Use Koha Cache Memory Lite to stash itemtype descriptions for template plugin 2022-06-24 11:55:34 -03:00
Koha.pm Bug 30524: (QA follow-up) Only generate CSRF token if it will be used 2023-07-28 11:15:08 +00:00
KohaDates.pm
…
KohaPlugins.pm Bug 32539: Add exception handling to plugin hooks in template plugin 2023-02-13 09:20:24 +00:00
KohaSpan.pm
…
Languages.pm
…
Price.pm
…
Registers.pm
…
Remove_MARC_punctuation.pm
…
TablesSettings.pm Bug 29723: Add a "Configure table" button for KohaTable tables 2022-08-16 10:12:26 -03:00
To.pm
…
raw.pm
…