Skip to content

Bug: if not CSPEnaled but i have some  #2456

Description

@gaglioffo

Describe the bug
if for test change app.CSPEnabled from true to false
BUT if
into initController i used $response->CSP->addStyleSrc('https://fonts.googleapis.com');

Return an error "Call to a member function addStyleSrc() on null "

CodeIgniter 4 version
RC-3

Context

  • OS: Win
  • Web server Apache
  • PHP version 7.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions