Pekka Lampinen (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A1c0e0444-ded9-4b7c-89c6-688f5a33e93e
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZDc5YzBiOWY1OTJjNDk0NDhlY2JjMjdhYzE4MDMyYWUiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-11009?atlOrigin=eyJpIjoiZDc5YzBiOWY1OTJjNDk0NDhlY2JjMjdhYzE4MDMyYWUiLCJwIjoiaiJ9
) GEOS-11009 (
https://osgeo-org.atlassian.net/browse/GEOS-11009?atlOrigin=eyJpIjoiZDc5YzBiOWY1OTJjNDk0NDhlY2JjMjdhYzE4MDMyYWUiLCJwIjoiaiJ9
) GWC WMTS GetCapabilities wrong ResourceUrl template when authkey is used (
https://osgeo-org.atlassian.net/browse/GEOS-11009?atlOrigin=eyJpIjoiZDc5YzBiOWY1OTJjNDk0NDhlY2JjMjdhYzE4MDMyYWUiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.22.0 Assignee: Unassigned Components:
authkey, GWC, REST, WMTS Created: 02/Jun/23 2:24 PM Environment:
Geoserver version: 2.22.0, GeoWebCache: 1.22.0.
Windows Server 2019 Standard.
Priority: Medium Reporter: Pekka Lampinen (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A1c0e0444-ded9-4b7c-89c6-688f5a33e93e
)
When I access the GetCapabilities document of the WMTS-service with an authkey
in the url address I get a document that shows wrong ResourceURL templates.
Authkey parameter is inserted at the wrong place and the urls won't work. This
causes problems when trying to add WMTS-layers to certain services.
GetCapabilities with authkey.
https://{Our
URL}/geoserver/gwc/service/wmts?request=GetCapabilities&service=WMTS&version=1.0.0&authkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Wrong template returned. Authkey inserted just after "\rest".
<ResourceURL format="image/jpeg" resourceType="tile" template="https://{Our
URL}/geoserver/gwc/service/wmts/rest?authkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/{Our
layer
name}/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
Working template that is not shown. Authkey should be at the end with the
format.
<ResourceURL format="image/jpeg" resourceType="tile" template="https://{Our
URL}/geoserver/gwc/service/wmts/rest/{Our layer
name}/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg&authkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
(
https://osgeo-org.atlassian.net/browse/GEOS-11009#add-comment?atlOrigin=eyJpIjoiZDc5YzBiOWY1OTJjNDk0NDhlY2JjMjdhYzE4MDMyYWUiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-11009#add-comment?atlOrigin=eyJpIjoiZDc5YzBiOWY1OTJjNDk0NDhlY2JjMjdhYzE4MDMyYWUiLCJwIjoiaiJ9
)
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#100225-
sha1:e03cc87 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel