[Geoserver-devel] [JIRA] (GEOS-9899) GeoServer REST API does not pass the Port to generated URLs

Andre Zielinski created an issue

GeoServer / BugGEOS-9899

GeoServer REST API does not pass the Port to generated URLs

Issue Type:

BugBug

Affects Versions:

2.17.4, 2.18.2

Assignee:

Unassigned

Components:

REST

Created:

11/Feb/21 9:32 AM

Environment:

Apache Tomcat 9.0.43 on Windows Server 2019

Priority:

MediumMedium

Reporter:

Andre Zielinski

When using the GeoServer REST API the port is not passed trough when the links are generated, e.g. when accessing: https://geoserver.local:8443/geoserver/rest, then the generated URLs show the following scheme:

<li><a href=“https://geoserver.local/geoserver/rest/about/manifest”>about/manifest</a></li>

This seems to be the case for all URLs generated by GeoServer REST API, e.g. links to workspace, datasource and layer ressources and is also the case when using json as return type and also when the proxy URL is set within the global settings.

I would expect the link to be "https://geoserver.local:8443/geoserver/rest/about/manifest

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#100154-sha1:d4d6a6a)

Atlassian logo