Skip to content

Is inheritance of 'self' to local-scheme appropriate? #259

@shhnjk

Description

@shhnjk

We discussed that 'self' inherited to local-scheme (e.g. data URL) should be treated as local-scheme itself.

But this means that if website https://A.com wants to load data: frames and wishes to load resources inside data: frames from itself, then they need to give up with default-src 'self' and they should add default-src https://A.com.

Is this how website should implement CSP? Seems complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions