SecureHeaders.php
# Content-Security-Policy: Policy string removals
Content-Security-Policy: Policy string removals
Content - Security - Policy : Policy string removals
public function removeCSPSource($directive, $source, $reportOnly = null)
    {
        $this->assertTypes(array('string' => array($directive, $source)));
        $csp = &$this->getCSPObject($reportOnly);
        $source = strtolower($source);
        $directive = strtolower($directive);
        if ( ! isset($csp[$directive][$source]))
        {
            return false;
        }
        unset($csp[$directive][$source]);
        return true;
    }
public function removeCSPSource ( $ directive , $ source , $ reportOnly = null ) { $ this -> assertTypes ( array ( 'string' => array ( $ directive , $ source ) ) ) ; $ csp = & $ this -> getCSPObject ( $ reportOnly ) ; $ source = strtolower ( $ source ) ; $ directive = strtolower ( $ directive ) ; if ( ! isset ( $ csp [ $ directive ] [ $ source ] ) ) { return false ; } unset ( $ csp [ $ directive ] [ $ source ] ) ; return true ; }
Content-Security-Policy: Policy string removals
Content - Security - Policy : Policy string removals