Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nonce attribute to client side script #87

Open
devowhippit opened this issue Oct 31, 2019 · 0 comments
Open

Add nonce attribute to client side script #87

devowhippit opened this issue Oct 31, 2019 · 0 comments
Assignees
Milestone

Comments

@devowhippit
Copy link

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?

@danielmorell danielmorell self-assigned this Jun 8, 2022
@danielmorell danielmorell modified the milestones: v2.6.4, v3.0.0 Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants