https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41197

--- Comment #4 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 203768
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203768&action=edit
Bug 41197: Don't require a CSRF token for opac-account-pay-return.pl

This page is intended for redirect/return from external payment vendors - they
are not going to have/get a CSRF token from Koha for this.
The payments are handled in a POST to the API, so this should not be a
sensitive page, it just provides user confirmation.
Some vendors use only a POST, we should not require CSRF on this page.

Test Plan:
1) Apply the first patch
2) prove t/Koha/Middleware/CSRF.t
3) Note the tests fail!
4) Apply this patch
5) prove t/Koha/Middleware/CSRF.t
6) All tests pass!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to