JMSDebuggingBundle icon indicating copy to clipboard operation
JMSDebuggingBundle copied to clipboard

Script doesn't load under HTTPS (mixed-mode content)

Open FineWolf opened this issue 11 years ago • 6 comments

When loading Google Analytics, your script is failing due to the fact that you are importing GA always under http. If you load the profiler under HTTPS, the whole profiler will fail due to the inclusion of GA with http.

Simply load GA using a scheme-less URL

dom.createDom('script', {'src': '//www.google-analytics.com/ga.js', 'type': 'text/javascript'});

FineWolf avatar Oct 11 '13 17:10 FineWolf

this is a bit more complex, because the SSL versions of GA is at https://ssl.google-analytics.com/ga.js according to their doc

stof avatar Oct 11 '13 19:10 stof

I think we can remove the entire GA code as was discussed in some other thread.

schmittjoh avatar Oct 11 '13 19:10 schmittjoh

@schmittjoh can you please remove this tracking feature.

mayeco avatar Nov 27 '14 05:11 mayeco

We can remove this code, someone just needs to send a PR. I don't have the time unfortunately.

schmittjoh avatar Nov 27 '14 06:11 schmittjoh

@schmittjoh working on that

mayeco avatar Nov 27 '14 06:11 mayeco

done PR #81

mayeco avatar Nov 27 '14 06:11 mayeco