## Description <!-- Add here a few sentences describing the bug. --> If a map with HTTPs URL has the services in HTTP the service requests must remain in HTTP and not in HTTPS as it happens now. ## How to reproduce <!-- A list of steps to reproduce the bug --> - Open [this map](https://dev.mapstore.geo-solutions.it/mapstore/#/viewer/openlayers/5849) - On console open a layer request *Expected Result* <!-- Describe here the expected result --> Request is in HTTP, as follows: > http://encws.geo-solutions.it/geoserver/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=EMSA%3AS52%20Standard&STYLES=&SRS=EPSG%3A4326&CRS=EPSG%3A4326&TILED=false&WIDTH=1085&HEIGHT=879&BBOX=35.71878433227539%2C14.203777313232422%2C36.020565032958984%2C14.576282501220703 *Current Result* <!-- Describe here the current behavior --> Request is in HTTPs, as follows: > https://encws.geo-solutions.it/geoserver/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=EMSA%3AS52%20Standard&STYLES=&SRS=EPSG%3A4326&CRS=EPSG%3A4326&TILED=false&WIDTH=1085&HEIGHT=879&BBOX=35.71878433227539%2C14.203777313232422%2C36.020565032958984%2C14.576282501220703 - [x] Not browser related <details><summary> <b>Browser info</b> </summary> <!-- If browser related, please compile the following table --> <!-- If your browser is not in the list please add a new row to the table with the version --> (use this site: <a href="https://www.whatsmybrowser.org/">https://www.whatsmybrowser.org/</a> for non expert users) | Browser Affected | Version | |---|---| |Internet Explorer| | |Edge| | |Chrome| | |Firefox| | |Safari| | </details> ## Other useful information <!-- error stack trace, screenshot, videos, or link to repository code are welcome -->
Description
If a map with HTTPs URL has the services in HTTP the service requests must remain in HTTP and not in HTTPS as it happens now.
How to reproduce
Expected Result
Request is in HTTP, as follows:
Current Result
Request is in HTTPs, as follows:
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information