Koha/koha-tmpl/intranet-tmpl/prog/en/modules/authorities
Marcel de Rooy 5a7dc0749f Bug 18019: Add CSRF protection to authorities-home.pl (op==delete)
Without this patch, it is possible to delete authority records with URL
manipulation.
Like: /cgi-bin/koha/authorities/authorities-home.pl?op=delete&authid=[XXX]

Test plan:
[1] Go to Authorities. Search for some authorities (without links).
[2] Delete an authority. Should work.
[3] Apply patch.
[4] Construct an URL like above to delete another authority. Should fail.
    Under Plack this results in an internal server error, the log tells
    you: Wrong CSRF token.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Amended the test plan.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-03-31 13:08:24 +00:00
..
auth_finder.tt
authorities-home.tt
authorities.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
blinddetail-biblio-search.tt Bug 17780: Add a comment to explain the line 2017-02-15 11:13:00 +00:00
detail.tt Bug 16366 - Remove obsolete "border" attribute from <img> tags 2016-04-29 16:13:55 +00:00
merge.tt Bug 16600 - Remove some obsolete references to Greybox in some templates 2016-07-08 13:03:26 +00:00
searchresultlist-auth.tt
searchresultlist.tt Bug 18019: Add CSRF protection to authorities-home.pl (op==delete) 2017-03-31 13:08:24 +00:00