Skip to content

Validator fails to merge policies with report-uri #228

@oschwald

Description

@oschwald

The validator fails to handle this policy taken directly from the CSP 2 specification:

Content-Security-Policy: frame-ancestors https://example.com/ 
Content-Security-Policy: default-src https:; report-uri https://example.com/

It says "Cannot merge policies if either policy contains a report-uri directive."

See mozilla/http-observatory#396 also.

Thoughts?

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