MantisBT: master 49749110

Author Committer Branch Timestamp Parent
dregad dregad master 2015-01-24 13:56 master efb2e443
Changeset

Refactor http_security_headers()

Using an array to define Content Security Policy makes it easier to
maintain it. Adding a new CSP then becomes as simple as adding an
element to the array, as opposed to editing the string sent to header().

mod - core/http_api.php Diff File