You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The security requirements for our app dictate that we must whitelist all JavaScript via the nonce attribute.
This breaks the "Live Poll" feature of Resque's UI (resque/overview), as it doesn't update or have CSS. I've looked into the documentation and issues here but have not found a solution.
Is there a way to add the nonce or edit the view? Or how can we get around this?
Thank you
The text was updated successfully, but these errors were encountered:
Depending on your security requirements you may need to do something custom or run a fork of the gem. I guess you could also extract the server portion of the gem and modify it for your usage in your system.
Thanks for the reply Partick.
I now understand the change needed would look like this in lib/resque/server/views/layout.erb, where nonce is a variable set by the App's Application Controller
Hi all, I hope this finds you well!
The security requirements for our app dictate that we must whitelist all JavaScript via the nonce attribute.
This breaks the "Live Poll" feature of Resque's UI (resque/overview), as it doesn't update or have CSS. I've looked into the documentation and issues here but have not found a solution.
Is there a way to add the nonce or edit the view? Or how can we get around this?
Thank you
The text was updated successfully, but these errors were encountered: