[mapserver-users] MapServer CGI Controls doc web page

Lime, Steve D (DNR) steve.lime at state.mn.us
Tue Mar 29 06:15:29 PDT 2011


I really don't know. Perhaps other devs with experience with extended character sets might have some thoughts... Steve
________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka [Jukka.Rahkonen at mmmtike.fi]
Sent: Monday, March 28, 2011 2:00 PM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] MapServer CGI Controls doc web page

Hi,

How straight forward it is to validate non-ASCII characters like äåö (äå&ouml)?

-Jukka Rahkonen


Lime, Steve D wrote:

> Hi Andrea: I believe Daniel already commented on the documentation side of things. In terms of an
> example it's pretty straight forward. The validation pattern is given as a regex like so:

> LAYER
  ...
>  METADATA
>    'qstring_validation_pattern' '.' # would allow any value
>    'qstring_validation_pattern' '^[a-z]{1,16}$' # would allow a string up to 16 characters in length consisting of
> lower-case alpha only
>    'qstring_validation_pattern' '^[0-9]{1,2}$' # one or two digit number only
>  END
> END

> Hope this helps- Steve


>-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of iomeneandrei
Sent: Sunday, March 27, 2011 3:56 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] MapServer CGI Controls doc web page

> Dear all,
> today I tried a CGI itemquery command and I have had
> qstring_validation_pattern error.

> I have solved searching in this mailing list (thank you), but I found
> nothing about it in CGI documentation.

> I think that the sentence you have in MapServer 4.10 to 5.0 Migration doc
> web page - "the qstring_validation_pattern layer-level metadata is required
> for qstring queries to work" - should be included in MapServer CGI Controls
> doc web page.
> It would be fantastic to have also some qstring_validation_pattern example.

> Once again thank you and best regards,

> Andrea

> -----
> Andrea Borruso

----------------------------------------------------
email: aborruso at tin.it
website: http://blog.spaziogis.it
my 2.0 life: http://aborruso.spaziogis.it
feed: http://feeds2.feedburner.com/Tanto
38° 7' 48" N, 13° 21' 9" E
----------------------------------------------------
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/MapServer-CGI-Controls-doc-web-page-tp6211951p6211951.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list