Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H headless-chrome-crawler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • yujiosaka
  • headless-chrome-crawler
  • Issues
  • #298
Closed
Open
Issue created Jul 23, 2018 by Jamie Scaife@jamieweb

What is the intended method for re-enabling the Content-Security-Policy header?

Currently the Content-Security-Policy header is disabled by default when crawling.

It's possible to re-enable it using the crawler configuration: jQuery: false

Is this the intended way to re-enable the CSP header? At the moment it seems to be a side-effect of the jQuery configuration, rather than the primary intended effect.

I think that something such as a csp: true|false configuration would be useful for this.

The reason I am asking is that my project travis-ci_csp-tester specifically requires the CSP to be enabled, and I want to ensure that the jQuery: false configuration is reliable.

Thank you.

Assignee
Assign to
Time tracking