[GeoNetwork-devel] Http proxy append other request parameters

Hi all,

the proxy is appending request parameters to the URL. See https://github.com/geonetwork/core-geonetwork/blob/develop/core/src/main/java/org/geonetwork/http/proxy/HttpProxyServlet.java#L303

So for example,
http://localhost:8080/geonetwork/proxy?url=http%3A%2F%2Ftds0.ifremer.fr%2Fthredds%2Fwms%2FCORIOLIS-GLOBAL-CORA04.0-OBS_FULL_TIME_SERIE%3Frequest%3DGetMetadata%26item%3DlayerDetails%26layerName%3DTEMP&__id=78722692852
will try to connect to:
http://tds0.ifremer.fr/thredds/wms/CORIOLIS-GLOBAL-CORA04.0-OBS_FULL_TIME_SERIE?request=GetMetadata&item=layerDetails&layerName=TEMP?__id=78722692852

So the URL is wrong.

I don’t see any usage of that in GeoNetwork. The URL parameter includes all parameters (encoded) and I don’t think we need to append anything to that.

So I would like to drop that. Is that fine for everyone ?

Thanks.

Francois