+1 for community modules, but I do think we are going to need to provide alternatives to regular expressions for anything with a security risk (that is a thing controlling communication between system).
Regular expressions are just too complicated to be reliably used. You see a nice simple oyster and get the messy pearl in the centre. On Tue, Mar 28, 2023 at 2:13 PM Joseph Miller <millerjos...@gmail.com> wrote: > GeoServer-devel, > I would like to propose a community module that would allow administrators > to use incoming service requests as the basis for backlink generation. > Configurable transformations would be along the lines > of .../geoserver/ogc/stac/v1 --> stac.host.org/v1 > .../geoserver/ogc/features/v1 --> features.host.org/v1 and > .../geoserver/wms --> wms.host.org > > The module would be for backlink generation only (not proxying) using > URLMangler. Unlike the existing Proxy Base URL configuration in the Global > Settings, this module would work against both the path and base URL at the > same time. Also, unlike Proxy Base URL, variables would not need to be > enumerated. Instead the admin would use regular expressions to match > headers to ${...}" tokens. > > Admins will have the option to configure using a table based GUI or with > the REST API. > > Thanks, > Joe Miller > > _______________________________________________ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > -- -- Jody Garnett
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel