搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Iframe doesn't render a local page when src is local and redirected to remote then back to local

  • 無回覆
  • 1 有這個問題
  • 3 次檢視
more options

Hi and sorry for the vague subject line.

Here is the situation. On one page of the site an iframe is rendered. The src element of the iframe is a local url. The src url will render an html page which is simply an html form that posts to a remote url. The remote site will do some internal posts and then finally sends a get request back to my app. The final step is to render a local page from my app. All that should happen within the iframe.

With Firefox the final page is not rendered. I can debug the site and I see the final get request is processed on the server but Firefox doesn't display the page. I've tried returning a redirect to the final page instead of returning the html and then I can see in the dev tools a get request to that (local) url however I just get a blank page in the iframe.

All this is using https urls. Any suggestions are appreciated.

Thanks. Sean

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題