[mapserver-commits] r12297 - trunk/mapserver/mapcache
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:14:47 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:14:47 -0700 (Fri, 26 Aug 2011)
New Revision: 12297
Modified:
trunk/mapserver/mapcache/geocache.xml
Log:
fix compiler warnings
thomas.bonfort | 2011-02-08 10:25:13 +0100 (Tue, 08 Feb 2011)
Modified: trunk/mapserver/mapcache/geocache.xml
===================================================================
--- trunk/mapserver/mapcache/geocache.xml 2011-08-26 11:14:43 UTC (rev 12296)
+++ trunk/mapserver/mapcache/geocache.xml 2011-08-26 11:14:47 UTC (rev 12297)
@@ -401,9 +401,9 @@
mapserver mapfiles. the name of the mapfiles need not be known to mod-geocache, and can therefore be
created even after mod-geocache has been started.
when a user passes a MAPFILE=/path/to/mapfile, the string "path/to/mapfile" is validated against
- the supplied regular expression. The one in this example allows a name composed of aphanumeric characters
- spearated by slashes (/) and finishing with ".map", but will faill if there are two consecutive dots (..)
- in the path, to prevent filesystem traversal.
+ the supplied (PCRE) regular expression. The one in this example allows a name composed of aphanumeric characters
+ spearated by slashes (/) and finishing with ".map" ( [a-zA-Z0-9\./]*\.map$ ) , but will faill if there
+ are two consecutive dots (..) in the path, to prevent filesystem traversal ( (?!.*\.\.) ).
-->
<dimension type="regex" name="MAPFILE" default="/path/to/mapfile.map">^(?!.*\.\.)[a-zA-Z0-9\./]*\.map$</dimension>
More information about the mapserver-commits
mailing list