Skip to content

Prepare for a sensible Content Security Policy #126

Description

@mvz

If we want to set Content Security Policy in Publify (see https://edgeguides.rubyonrails.org/security.html#content-security-policy-header), some things need to be done:

  • Remove inline javascript attributes
  • Remove inline styles
  • Remove jQuery, since it contains code that sets inline javascript attributes
  • Replace <script> tags so it sets nonces

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions