Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » add http-equiv meta in additionalHeaders(eclipse rap add http-equiv meta in additionalHeaders)
add http-equiv meta in additionalHeaders [message #1766510] Thu, 22 June 2017 11:47
Fierascu Gheorghe is currently offline Fierascu GheorgheFriend
Messages: 1
Registered: June 2017
Junior Member
I'm trying to allow mixed content from an iframe in an Eclipse Rap application. It should work using a http-equiv meta.

The eclipse developers-guide exemple works:
<additionalHeaders>
  <meta name="author" content="Arthur Dent">
  </meta>
</additionalHeaders>


(see 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>


For deployment I use WildFly 10 with https enabled.

When adding additional headers <additionalHeaders> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"></meta> </additionalHeaders> in browser source only the content attribute appears without http-equiv: <meta content="upgrade-insecure-requests">


Why the http-equiv is removed from meta tag?
Previous Topic:F5 browser refresh to be trapped
Next Topic:invalid thread access exception thrown on clicking on treeviewer when multiple sessions are on
Goto Forum:
  


Current Time: Fri May 25 05:38:52 GMT 2018

Powered by FUDForum. Page generated in 0.01604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top