danielmarschall / oidplus

OIDplus 2.0 - An OpenSource online Registration Authority for OIDs and other Object Types
https://www.oidplus.com
Apache License 2.0
10 stars 6 forks source link

Content-Security-Policy #16

Closed wehowski closed 1 year ago

wehowski commented 1 year ago

I got the error in the js console: Unrecognized Content-Security-Policy directive 'prefetch-src'. In OIDplus.class.php I commented out: /* "prefetch-src" => array( "'self'", "blob:" ),*/` I'm not quite sure about this, first I thought it came from a plugin, but it also appears on the viathink-oidplus!?

danielmarschall commented 1 year ago

According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/prefetch-src , "prefetch-src" is non-standard and deprecated.

Deprecated are:

Non-Standard and not deprecated:

TODO: Remove them from OIDplus::init()

danielmarschall commented 1 year ago

Fixed in SVN Rev 1304