[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
Mon Jan 13 11:39:23 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24369
Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #97093|0 |1
is obsolete| |
--- Comment #6 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 97299
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97299&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
Signed-off-by: Andrew Isherwood <andrew.isherwood at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list