[Koha-bugs] [Bug 24369] Add ability to set CORS header in Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 9 15:22:57 CET 2020


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 97093
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97093&action=edit
Bug 24369: Add CORS support to output_with_http_headers()

This patch adds CORS support to output_with_headers(). It will use the
AccessControlAllowOrigin syspref to pick the value and set the
Access-Control-Allow-Origin header.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/Output.t
SUCCESS: Tests pass!
3. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list