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

搜索 | 用户支持

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

详细了解

Firefox is serving my site as HTTPs and this is causing an error on the pages where my site has an iframe - what can I do to solve this?

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 John99

more options

Hi,

We have an application that runs on our site Flagology.com. This iframe application is not secure. On Firefox we have recently noticed that our iframe is not always being served to the customer. See this link: https://www.flagology.com/product/dog-photo-garden-flags/

What other options do we have or what do you recommend to fix this error?

Thank you, Lindsey

Hi, We have an application that runs on our site Flagology.com. This iframe application is not secure. On Firefox we have recently noticed that our iframe is not always being served to the customer. See this link: https://www.flagology.com/product/dog-photo-garden-flags/ What other options do we have or what do you recommend to fix this error? Thank you, Lindsey

所有回复 (6)

more options

Your frame src is

http://designer.flymyphoto.com/api_ext.php

which then redirects back to

http://www.flagology.com/wp-content/plugins/woocommerce-realtimedesigner/RTD_templates.php

Since the first server can't handle HTTPS, you're stuck there. Users can make an exception (see attached screen shot), but then Firefox modifies the framed page to

https://www.flagology.com/wp-content/plugins/woocommerce-realtimedesigner/RTD_templates.php

and the images from the other server can't be displayed (woocommerce page uses relative paths so Firefox tries to retrieve them using the same protocol as the framed page).

In short, this part of your site does not work on HTTPS. But why are users getting HTTPS pages instead of HTTP pages?

I don't know if you shop on Amazon much, but they forcibly redirect users from HTTPS to HTTP except during account access and checkout. You might need to do something like that if the intermediary site doesn't support HTTPS.

more options

Hello,

When you have a web page that serves 'Mixed content', where the page itself is served over HTTPS and some part of the page is served over insecure HTTP, Firefox (and other browsers) block the display of the insecure content. The only sensible solution to this problem is to serve everything over HTTPS.

There is an article about this on the Mozilla Developer Network, called 'How to fix a website with blocked mixed content'.

I hope this information was useful.

more options

jscher2000 said

Your frame src is http://designer.flymyphoto.com/api_ext.php which then redirects back to http://www.flagology.com/wp-content/plugins/woocommerce-realtimedesigner/RTD_templates.php Since the first server can't handle HTTPS, you're stuck there. Users can make an exception (see attached screen shot), but then Firefox modifies the framed page to https://www.flagology.com/wp-content/plugins/woocommerce-realtimedesigner/RTD_templates.php and the images from the other server can't be displayed (woocommerce page uses relative paths so Firefox tries to retrieve them using the same protocol as the framed page). In short, this part of your site does not work on HTTPS. But why are users getting HTTPS pages instead of HTTP pages? I don't know if you shop on Amazon much, but they forcibly redirect users from HTTPS to HTTP except during account access and checkout. You might need to do something like that if the intermediary site doesn't support HTTPS.

Hi - by suggesting that we force to HTTP are you suggesting put in a redirect to force HTTP? When I visit Amazon on firefox, it redirects me to HTTPs.

more options

Gert Van Waelvelde said

Hello, When you have a web page that serves 'Mixed content', where the page itself is served over HTTPS and some part of the page is served over insecure HTTP, Firefox (and other browsers) block the display of the insecure content. The only sensible solution to this problem is to serve everything over HTTPS. There is an article about this on the Mozilla Developer Network, called 'How to fix a website with blocked mixed content'. I hope this information was useful.

The developer of the application in the iframe has told us that it is not recommended to serve an iframe over https - is this something you are aware of?

more options

LindseyFlagology said

Hi - by suggesting that we force to HTTP are you suggesting put in a redirect to force HTTP? When I visit Amazon on firefox, it redirects me to HTTPs.

This must be a recent change. For the better, from a privacy perspective. But yes, if your product pages do not work work smoothly on HTTPS, you can redirect to HTTP.

LindseyFlagology said

The developer of the application in the iframe has told us that it is not recommended to serve an iframe over https - is this something you are aware of?

Why not?! Because then you would need to use one of their competitors? HTTPS is the future that is nearly here; they need to get on board.

more options

Update. Sorry I posted without updating the thread first


It works for me ok

If someone tries to open it as https, or possibly you have a link or iframe using https then Firefox's Mixed Content Blocking may be triggered e.g.

由John99于修改