Support » Plugin: HTTP Headers » all checkboxes de-selected with CSP enabled

  • Resolved werdpres

    (@werdpres)


    i’ve seen several people report this

    any time i enable CSP and save the settings, all checkboxes in the UI are de-selected except for the enable/disable radio

    this seems to have occurred after i moved my site to a new host (VPS, apache)

    i’v tried manually editing htaccess and got them to appear, but i haven’t narrowed it down to which setting is causing this

    in the UI, i can set every CSP option to *, or disable all options, and the result is the same as soon as i save settings

    i’m also curious about this…

    > Usually, the PHP method works perfectly.

    then…

    > Use PHP to send headers (deprecated)

Viewing 1 replies (of 1 total)
  • Plugin Author Dimitar Ivanov

    (@zinoui)

    If you check the .htaccess file you will see that settings are there. The same for database.

    The UI is broken because it depends on javascript and at the same time the page violates the CSP directives that you’ve chosen.


    If you use a third-party caching plugin then the PHP method will not work. That is the reason this method to be deprecated.

    P.S. Sorry for late response.

Viewing 1 replies (of 1 total)
  • The topic ‘all checkboxes de-selected with CSP enabled’ is closed to new replies.