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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions