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
master pr
2.18.x backport
2.17.x backport