Skip to content

onclick attribute not allowed with CSP unless unsafe-inline used #1819

@PeterMead

Description

@PeterMead

RequestCollector and RouteCollector both add the onclick attribute to the <a> tags for XDebug links. When using a Content Security Policy (CSP) the JavaScript in those attributes will be blocked from executing unless unsafe-inline is enabled in the policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions