etf-validator / etf-webapp

:earth_africa: :mag: ETF is an open source testing framework for spatial data and services
https://www.etf-validator.net
European Union Public License 1.2
19 stars 19 forks source link

Mixed Content error when reports are accessed via https #143

Closed jonherrmann closed 6 years ago

jonherrmann commented 6 years ago

Reported by @Joonalai

When the test report finishes, the internal links css files are used:

http://localhost:8080/etf-webapp/css/de.interactive-instruments.min.css and http://localhost:8080/etf-webapp/css/de.interactive-instruments.rep.css

But when the page is refreshed or the test report is opened again, it tries to load the styles from:

http://resources.etf-validator.net/report/v2/css/de.interactive-instruments.min.css http://resources.etf-validator.net/report/v2/css/de.interactive-instruments.rep.css

And also jQuery is loaded from http address instead of https address at that point:

http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.css http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.3.min.js http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js

It would be good to use internal css files all along and jQuery with https address, like it is used elsewhere in the application.