一段时间以来,一名用户无法登录论坛。
他有一个 CSP 问题:
拒绝执行内联脚本,因为它违反了以下内容安全策略指令:“script-src https://boulette.advantaged.net/logs/ https://boulette.advantaged.net/sidekiq/ https://boulette.advantaged.net/mini-profiler-resources/ https://boulette.advantaged.net/assets/ https://boulette.advantaged.net/brotli_asset/ https://boulette.advantaged.net/extra-locales/ https://boulette.advantaged.net/highlight-js/ https://boulette.advantaged.net/javascripts/ https://boulette.advantaged.net/plugins/ https://boulette.advantaged.net/theme-javascripts/ https://boulette.advantaged.net/svg-sprite/ 'sha256-8uakdak4qxxceyzl0wxad2nnj2tgkya14hybh66pnn0='”。需要“unsafe-inline”关键字、哈希值('sha256-8uAKDaK4QxxCeYZl0Wxad2Nnj2tgKyA14hYBh66pnn0=')或随机数('nonce-...')才能启用内联执行。
deprecate-shim.js:33 弃用:Function.prototype 扩展已被弃用,请从 function(){} .property('bar') 迁移到 computed('bar', function() {})。[弃用 ID:function-prototype-extensions.property] 更多详情请参阅 https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-property。
(anonymous) @ deprecate-shim.js:33
准确地说,我从未配置过任何 CSP,而是让它按默认配置:
有人能帮帮我吗?
提前感谢。
