[mapserver-commits] r7269 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jan 16 02:58:06 EST 2008


Author: warmerdam
Date: 2008-01-16 02:58:05 -0500 (Wed, 16 Jan 2008)
New Revision: 7269

Modified:
   trunk/mapserver/mapwcs11.c
Log:
fixed a quirk in rangeset parsing

Modified: trunk/mapserver/mapwcs11.c
===================================================================
--- trunk/mapserver/mapwcs11.c	2008-01-16 06:05:20 UTC (rev 7268)
+++ trunk/mapserver/mapwcs11.c	2008-01-16 07:58:05 UTC (rev 7269)
@@ -898,6 +898,9 @@
 /* -------------------------------------------------------------------- */
     value = rangesubset + strlen(field_id);
 
+    if( strcasecmp(rangesubset,field_id) == 0 )
+        return MS_SUCCESS; /* we only got field ... default options */
+
     if( strlen(rangesubset) <= strlen(field_id)+1 
         || strncasecmp(rangesubset,field_id,strlen(field_id)) != 0 
         || (*value != '[' && *value != ':') )



More information about the mapserver-commits mailing list