[MS4W-Users] msValidateParameter(): Regular expression error. Parameter pattern validation failed.
jmckenna at gatewaygeomatics.com
Thu Oct 4 06:16:30 EST 2012
I know validation became mandatory for runtime substitutions in MapServer
6.0, so this is a common question. For examples, you might want to check
the associated ticket (https://github.com/mapserver/mapserver/issues/3522)
which refers to an example mapfile
I agree, validations are tricky.
MapServer Training & Consulting
> This might be more appropriate on the Mapserver list, but I saw a thread
> the MS4W archives from June (
> http://lists.maptools.org/pipermail/ms4w-users/2012-June/002024.html) and
> wondered if there was ever a solution achieved.
> I'm trying to call mapserver CGI like so:
> and I am getting a Regular expression error of:
> mapserv(): Web application error. Parameter 'qstring' value fails to
> validate. msValidateParameter(): Regular expression error. Parameter
> pattern validation failed.
> however, I've basically removed any complications (I thought) from the
> validation process by testing with:
> 'TLID' '.'
> and I still get the mapserver error.
> There is no error in the Apache error log. When I enable an MS_ERRORFILE I
> get the following in the log:
> [Wed Oct 03 09:11:51 2012].62000 msValidateParameter(): Regular expression
> error. Parameter pattern validation failed.
> [Wed Oct 03 09:11:51 2012].62000 mapserv(): Web application error.
> Parameter 'qstring' value fails to validate.
> I've successfully used this method in previous years, and in trying to
> figure out what had changed I went back and tested previous versions of
> MS4W (back to 2.3.1). Same result. So on my end I the only difference I
> think of in my system is the fact that I am on Windows 7, whereas
> previously I was on XP.
> Any other ideas or obvious things I am not thinking of?
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
More information about the MS4W-Users