Skip to content

Add nonce attribute to client side script #87

@devowhippit

Description

@devowhippit

I can see there is some code to handle adding a nonce attribute to the inline script in the vendor Rollbar PHP (https://github.com/rollbar/Rollbar-PHP) helper script below;

However, it doesn't appear as though there is any header information passed to the helper function that would enable this...

$rollbarJs = \Rollbar\RollbarJsHelper::buildJs($this->buildJsConfig());

... or at least it isn't apparent to me. Is there some way to configure adding the nonce to the attribute?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions