But now i get an CSP for fobo/jquery....
{"csp-report":{"blocked-uri":"self","document-uri":"http://localhost:8080/company","line-number":343
,"original-policy":"default-src http://localhost:8080 https://bridge.paymill.de 'unsafe-inline'; font-src
http://localhost:8080 https://bridge.paymill.de https://bridge.paymill.com https://fonts.googleapis
.com https://fonts.gstatic.com 'unsafe-inline'; img-src *; script-src http://localhost:8080 https://bridge
.paymill.de https://bridge.paymill.com 'unsafe-inline'; style-src http://localhost:8080 https://bridge
.paymill.de https://bridge.paymill.com https://fonts.googleapis.com http://fonts.googleapis.com 'unsafe-inline'
; report-uri http://localhost:8080/lift/content-security-policy-report","referrer":"http://localhost
:8080/","script-sample":"call to eval() or related function blocked by CSP","source-file":"http://localhost
:8080/classpath/fobo/jquery.js","violated-directive":"script-src http://localhost:8080 https://bridge
.paymill.de https://bridge.paymill.com 'unsafe-inline'"}}
The interesting part seems to be:
referrer
"http://localhost:8080/" | ||
script-sample | "call to eval() or related function blocked by CSP" | |
source-file | "http://localhost:8080/classpath/fobo/jquery.js" |
How do i get rid of that?
This CSP stuff is rather annoying :(
It seem like the jquery version you are using have some offending
code, I would try to see if it goes away by upgrading (or
downgrading) the jquery version and as you are using FoBo and FoBo
supports several jquery versions simultaneously, that would simply
be to change the version string in Lift Boot (Boot.scala)
FoBo.Toolkit.Init=FoBo.Toolkit.JQuery[XYZ version]
restart your app and check if it CSP issue has been resolved
best regards Peter Petersson
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
Antonio
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.