[Geoserver-devel] [JIRA] (GEOS-8504) Wrong URL scheme in layer preview

Olle Markljung created an issue

GeoServer / BugGEOS-8504

Wrong URL scheme in layer preview

Issue Type:

BugBug

Affects Versions:

2.12.1

Assignee:

Unassigned

Created:

21/Dec/17 3:58 PM

Priority:

LowLow

Reporter:

Olle Markljung

The OpenLayers preview does not respect the URL scheme.
It creates URLs to http despite being accessed through https.
It’s not enough to set the Proxy Base URL with https.

This will render security errors in both Chrome and Internet Explorer.
In Internet Explorer you can accept insecure content and it works anyway.

It would be better if GeoServer used the URL scheme the client is using.
An easy way is using
instead of http:
The browser will then use the scheme used for the containing page.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100075-sha1:2a86cec)

Atlassian logo