Skip to content

CSP nonce support for consoleReplay script #1930

@Judahmeek

Description

@Judahmeek

Currently, there is no way to add a CSP nonce to our consoleReplay script, so if you are server rendering and you have a CSP with policy.script_src :self, :https, you will get a violation, which unless your CSP policy is report-only, means that you won't get any server-rendering logs added to the browser console.

So far, we haven't had any users report this as a serious issue (probably because the server logs still exist in production logs & CSP policy can be set to report-only for development).

If this is a serious issue for you, then please report so.

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