Invalid Content Security Policy check

Created on 17 November 2018, about 6 years ago
Updated 22 July 2024, 4 months ago

Inside http_response_headers.install file, in the line 24, this if operation is wrong:
$strict_transport_security instanceof ResponseHeaderInterface
Is wrong because according PHP documentation http://php.net/manual/en/internals2.opcodes.instanceof.php, When checking instanceof against a class that implements a interface, it will return true.

inside ResponseHeader.php, the class ResponseHeader implements ResponseHeaderInterface

πŸ› Bug report
Status

Fixed

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024