Skip to content

URL hash is hashing the wrong thing #8

Open
@annevk

Description

@annevk

'sha256-SHA256("script.js")' is one of the examples. Presumably this function call is to be replaced by the actual hash? This isn't clear from the explainer.

Either way, the input cannot be script.js as that is the input to the URL parser and that won't be there when Fetch calls into CSP. Requiring that to survive would be a layering violation and a very objectionable one at that.

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