[mapserver-users] RE: Validation beyond [A-z]
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Apr 28 11:23:03 PDT 2011
Hi Jan,
I do not think there is a global OFF switch for validation, but where
validation is required you can include the regex validation string of
/./ which means match anything except a null string, or to also accept a
null string then use /.*/
You still need to be aware of when you should put a validation in place
even if it accepts any string.
Regards,
-Steve W
On 4/28/2011 12:48 PM, Jan Hartmann wrote:
> I find the whole validation issue difficult and not well documented
> (http://trac.osgeo.org/mapserver/ticket/3754, last updated four hours
> ago). How do I put all validation off? I really don need that much security.
>
> Jan
>
> On 04/28/11 18:19, Lime, Steve D (DNR) wrote:
>>
>> I see the problem, just not sure how to fix it. Steve W. provided some
>> possibilities but that’s probably not the only approach. It would be
>> helpful if some interested person(s) got together and drafted an RFC.
>> I think the devs would be in a position to help define implementation
>> details if the problem is well defined along with a proposed solution.
>>
>> Steve
>>
>> *From:*mapserver-users-bounces at lists.osgeo.org
>> <mailto:mapserver-users-bounces at lists.osgeo.org>
>> [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of
>> *Rahkonen Jukka
>> *Sent:* Thursday, April 28, 2011 4:21 AM
>> *To:* mapserver-users at lists.osgeo.org
>> <mailto:mapserver-users at lists.osgeo.org>
>> *Subject:* [mapserver-users] Validation beyond [A-z]
>>
>> Hi,
>>
>> Validation is nowadays needed in quite a many places in a mapfile.
>> However, we who live outside the English speaking world tend to have
>> more characters in the alphabet than A to Z. This makes the mapfile
>> validation idea only half effective because for making things to work
>> at all with the native data we must accept almost everything that is
>> non-numeric with wildcards. Are there others who think that this is a
>> problem?
>>
>> Stephen Woodbidge commented slightly this topic in another thead a
>> month ago (Mar 29, 2011)
>>
>> http://lists.osgeo.org/pipermail/mapserver-users/2011-March/068307.html
>>
>> -Jukka Rahkonen-
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org <mailto: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