Zend 2 从 iframe 中删除 https
Zend 2 removing https from iframe
我正在尝试将 iframe 包含到 Zend 2 视图中。无论我做什么,框架都会显示 http。我试过使用这样的路径
echo '<iframe src="/path/to/iframe.php">';
和
echo '<iframe src="https://www.example.com/path/to/iframe.php">';
两者在网站上都显示为
http://example.com/path/to/file.php
Zend 似乎正在剥离 https 并将其替换为 http。
我相信这很简单。我到处搜索,找不到答案。这导致了一个问题,因为它标记了混合内容。
问题不在于 Zend,而在于 iframe 本身。
单个页面 php 图库(即 iframe 的内容)重定向到 http。
这里吸取的教训,请始终检查是否是您认为导致问题的原因
我正在尝试将 iframe 包含到 Zend 2 视图中。无论我做什么,框架都会显示 http。我试过使用这样的路径
echo '<iframe src="/path/to/iframe.php">';
和
echo '<iframe src="https://www.example.com/path/to/iframe.php">';
两者在网站上都显示为
http://example.com/path/to/file.php
Zend 似乎正在剥离 https 并将其替换为 http。
我相信这很简单。我到处搜索,找不到答案。这导致了一个问题,因为它标记了混合内容。
问题不在于 Zend,而在于 iframe 本身。
单个页面 php 图库(即 iframe 的内容)重定向到 http。
这里吸取的教训,请始终检查是否是您认为导致问题的原因