I don't believe any of the WxS non-vendor parameters use the validation blocks. Instead they have their own service-specific validation. Same goes for the CGI params - they are validated using explicit code (e.g. mapext must consist of 4 numeric elements). Exceptions (from the CGI perspective) are parameters like *qstring *where developer-defined validation is required because there is no set content model to follow. What you're describing for the WFS/WMS filter might be an interesting extension - I would think it would be easy to add (probably would need a different key, something like wfs.filter). I'm curious what others more familiar with the WFS/WMS filters think.
Another idea would be to disable parts of the filter specification using wfs_enable_request metadata - or perhaps using a new bit of metadata wfs_enable_filter? --Steve On Tue, Jan 19, 2021 at 3:36 AM Jörg Thomsen (WhereGroup) < joerg.thom...@wheregroup.com> wrote: > no hints anyone? :) > > Jörg > > Am 15.01.21 um 14:55 schrieb Jörg Thomsen (WhereGroup): > > Hello, > > > > I wonder how to allow / deny FE-filter in my WFS (e.g. no > spatial-filter). > > Is this possible in any way? > > > > I tried to use the validation-block, anything like > > > > VALIDATION > > "filter" "(?gm)^((?!<PropertyIsEqualTo>).)*$" > > END > > > > but the validations only seem to be considered for values which are used > > within the mapfile, also a validation for "service" doesn't take any > > effect: > > VALIDATION > > "service" "uups" > > END > > > > Viele Grüße, > > Jörg > > > > > Viele Grüße, > Jörg Thomsen > > -- > --------------------------------------------- > Aufwind durch Wissen! > Web-Seminare und Online-Schulungen > bei der www.foss-academy.com > --------------------------------------------- > > Jörg Thomsen > WhereGroup GmbH > Bundesallee 23 > 10717 Berlin > Germany > > Fon: +49 (0)30 / 5130 278 74 > Fax: +49 (0)30 / 5130 278 11 > > joerg.thom...@wheregroup.com > www.wheregroup.com > > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > > ------------------------------- > Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users