Marco Volpini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZWQwNTgxZGY3ODhkNGI0M2FiZjA2NWQzYjhmMmU1NDYiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-9911?atlOrigin=eyJpIjoiZWQwNTgxZGY3ODhkNGI0M2FiZjA2NWQzYjhmMmU1NDYiLCJwIjoiaiJ9 ) GEOS-9911 ( https://osgeo-org.atlassian.net/browse/GEOS-9911?atlOrigin=eyJpIjoiZWQwNTgxZGY3ODhkNGI0M2FiZjA2NWQzYjhmMmU1NDYiLCJwIjoiaiJ9 ) Params-extractor plugin, wrong url in getCapabilities when having context with addition "/" ( https://osgeo-org.atlassian.net/browse/GEOS-9911?atlOrigin=eyJpIjoiZWQwNTgxZGY3ODhkNGI0M2FiZjA2NWQzYjhmMmU1NDYiLCJwIjoiaiJ9 ) Issue Type: Bug Assignee: Marco Volpini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480 ) Created: 15/Feb/21 10:56 AM Priority: Medium Reporter: Marco Volpini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480 ) When deploying geoserver with params extractor plugin, under a context with one or more addition "/" eg. /my/geoserver, the url in the getCapabilities url is wrong being /my/geoserver/geoserver. The problem is caused by the usage of the regex to retrieve the path after the context in the UrlMangler ( https://github.com/geoserver/geoserver/blob/8fd0b0884570f9536c591d88d78354393058e263/src/extension/params-extractor/src/main/java/org/geoserver/params/extractor/UrlMangler.java#L73 ) ( https://osgeo-org.atlassian.net/browse/GEOS-9911#add-comment?atlOrigin=eyJpIjoiZWQwNTgxZGY3ODhkNGI0M2FiZjA2NWQzYjhmMmU1NDYiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9911#add-comment?atlOrigin=eyJpIjoiZWQwNTgxZGY3ODhkNGI0M2FiZjA2NWQzYjhmMmU1NDYiLCJwIjoiaiJ9 ) 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:908185a )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel