Cuizhiyong / vopenlayers

Automatically exported from code.google.com/p/vopenlayers
0 stars 0 forks source link

Openlayers map problem with mixed content cod #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

Unfortunately after updating Firefox 2X to 23, I have faced a problem with 
Firefox's Mixed Content Blocker. 
(https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled-in-fir
efox-23/)
The openLayers map doesn't display because of the blocker. We use https, and we 
have to insist on using https instead of http. 
As far as I know the problem is that openLayers map gives some data through 
http, and the blocker doesn't allow this insecurity, so it blocks the content, 
and the map doesn't display in our application. 
If I disable the blocker, the map displays, but it's only solves the problem 
locally. Every time I reload the application I have to disable the blocker to 
display the map and it's unacceptable for the customers.
How can I resolve this problem, so the map could permanently displayed in 
Firefox 23+ as well? 

I use OpenLayers add-on (openlayers-wrapper-1.2.0) with Vaadin 6, the problem 
appears on all OS with Firefox 23.

Thanks for the help in advance!

Regards, 
Szilvia Molnar

Original issue reported on code.google.com by szeraf...@gmail.com on 2 Sep 2013 at 10:04

GoogleCodeExporter commented 9 years ago
The title was meant to be: OpenLayers map doesn't display with Mixed Content 
Blocker (from Firefox 23)

Original comment by szeraf...@gmail.com on 2 Sep 2013 at 10:09

GoogleCodeExporter commented 9 years ago
I haven't investigated this change that much, but I think there is nothing that 
can be done in this project for this more stricter policy, but to go all https 
- also on your tiles & OL script. And how that works best, depends of course of 
your background map. The OL script by add-on can be quite easily moved to your 
application server.

Original comment by ma...@vaadin.com on 2 Sep 2013 at 6:06