为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Site not loading when using ESR due to CSP

  • 4 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 chris.foster1

more options

One of our vendors websites does not load under Firefox ESR, with errors in the console pointing to CSP. Error is: Content Security Policy: The page's settings blocked the loading of a resource at inline ("default-src")

However if I load the site under the normal Firefox release, it displays correctly. When looking at errors in console, it is showing 3 errors for CSP, however it does not stop the site from working correctly. Content-Security-Policy: The page's settings blocked the loading of a resources at https://..... ("connect-src") or ("img-src")

The site is https://app.approvalmax.com If you get the login screen then the site is working otherwise just getting a green background when it is not working.

I am unsure why ESR and RR versions are behaving differently in this case. Using the latest versions of each.

One of our vendors websites does not load under Firefox ESR, with errors in the console pointing to CSP. Error is: Content Security Policy: The page's settings blocked the loading of a resource at inline ("default-src") However if I load the site under the normal Firefox release, it displays correctly. When looking at errors in console, it is showing 3 errors for CSP, however it does not stop the site from working correctly. Content-Security-Policy: The page's settings blocked the loading of a resources at https://..... ("connect-src") or ("img-src") The site is https://app.approvalmax.com If you get the login screen then the site is working otherwise just getting a green background when it is not working. I am unsure why ESR and RR versions are behaving differently in this case. Using the latest versions of each.

由chris.foster1于修改

被采纳的解决方案

This was fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1640128 in Firefox 109.

which unfortunately was not backported to the Firefox 102 ESR.

It works in the Firefox 115 ESR which will become the only supported ESR in a month.

I'm checking to see if there is a workaround.

定位到答案原位置 👍 1

所有回复 (4)

more options

Which ESR?

more options

Firefox ESR 102.14.0 I have also tested with older releases of ESR (which are deployed within the organisation) and they are doing the same result.

more options

选择的解决方案

This was fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1640128 in Firefox 109.

which unfortunately was not backported to the Firefox 102 ESR.

It works in the Firefox 115 ESR which will become the only supported ESR in a month.

I'm checking to see if there is a workaround.

more options

Thanks Mike. I have now tested using Firefox 115 ESR in my test VM and confirm that it does work. I'll need to get our team to look at pushing/deploying this through our organisation.