[mapserver-users] qstring validation question

Steve Lime Steve.Lime at dnr.state.mn.us
Tue Sep 16 14:09:02 EDT 2008


JohN: It's given as a regex in the layer metadata:

  'qstring_validation_pattern'    '^[0-9]{1,2}$'

This one limits the qstring to a 1 or 2 digit integer.

Steve

>>> On 9/16/2008 at 10:05 AM, in message <48CFCB43.10203 at al.umces.edu>, "John B.
Churchill" <jchurchill at al.umces.edu> wrote:
> We recently upgraded to a newer version of Mapserver.  I'm guessing the 
> problem with my old scripts are due to the upgrade (seems likely).
> 
> I'm getting this error:
> mapserv(): Web application error. Metadata qstring_validation_pattern is
> not set.
> 
> My qstring is set by my javascript.  What should the 
> qstring_validation_pattern look like ?  Can someone direct me to an 
> example that shows this ?  I tried to browse the online documentation 
> but it appears to be down.
> 
> J.B.



More information about the mapserver-users mailing list