我正在尝试在Eclipse Rap应用程序中允许来自iframe的混合内容。 它应该使用像这样的http-equiv元:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
</head>
<body>
<iframe src="http://erlend.oftedal.no/blog/tools/xframeoptions/"></iframe>
</body>
</html>
eclipse开发者指南例子:
<additionalHeaders>
<meta name="author" content="Arthur Dent">
</meta>
</additionalHeaders>
(见https://eclipse.org/rap/developers-guide/devguide.php?topic=branding.html&version=2.0)
I wasn't successful when I added http-equiv="Content-Security-Policy:
<additionalHeaders>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"></meta>
</additionalHeaders>
对于部署,我使用WildFly 10并启用了https。
所以我的问题是:
如何在Eclipse Rap应用程序上启用混合内容?
如何在Eclipse Rap应用程序中添加元标记?