Andre Zielinski ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd3c5bb4326200dc971f3e1
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTMzNWIxNmZiYjU2NGVhMmJjNTE5YzI3MDVjYjRlYmEiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9899?atlOrigin=eyJpIjoiYTMzNWIxNmZiYjU2NGVhMmJjNTE5YzI3MDVjYjRlYmEiLCJwIjoiaiJ9
 ) GEOS-9899 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9899?atlOrigin=eyJpIjoiYTMzNWIxNmZiYjU2NGVhMmJjNTE5YzI3MDVjYjRlYmEiLCJwIjoiaiJ9
 ) GeoServer REST API does not pass the Port to generated URLs ( 
https://osgeo-org.atlassian.net/browse/GEOS-9899?atlOrigin=eyJpIjoiYTMzNWIxNmZiYjU2NGVhMmJjNTE5YzI3MDVjYjRlYmEiLCJwIjoiaiJ9
 )

Issue Type: Bug 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: Medium Reporter: Andre Zielinski ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd3c5bb4326200dc971f3e1
 )

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

( 
https://osgeo-org.atlassian.net/browse/GEOS-9899#add-comment?atlOrigin=eyJpIjoiYTMzNWIxNmZiYjU2NGVhMmJjNTE5YzI3MDVjYjRlYmEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9899#add-comment?atlOrigin=eyJpIjoiYTMzNWIxNmZiYjU2NGVhMmJjNTE5YzI3MDVjYjRlYmEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154- 
sha1:d4d6a6a )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to