[mapserver-commits] r7386 - branches/branch-5-0/mapserver

svn at osgeo.org svn at osgeo.org
Mon Feb 18 08:17:22 EST 2008


Author: tomkralidis
Date: 2008-02-18 08:17:22 -0500 (Mon, 18 Feb 2008)
New Revision: 7386

Modified:
   branches/branch-5-0/mapserver/HISTORY.TXT
   branches/branch-5-0/mapserver/mapwms.c
Log:
relax FORMAT parameter restrictions for GetFeatureInfo (#2517)


Modified: branches/branch-5-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-0/mapserver/HISTORY.TXT	2008-02-18 12:48:13 UTC (rev 7385)
+++ branches/branch-5-0/mapserver/HISTORY.TXT	2008-02-18 13:17:22 UTC (rev 7386)
@@ -12,6 +12,8 @@
 Version 5.0.3 (2008-01-30)
 --------------------------
 
+- mapwms.c: relax FORMAT parameter restrictions for GetFeatureInfo (#2517)
+
 - mapwms.c: make GetLegendGraphic listen to TRANSPARENT in OUTPUTFORMAT (#2494)
 
 - fix offsets on pixmap marker symbols (#2493)

Modified: branches/branch-5-0/mapserver/mapwms.c
===================================================================
--- branches/branch-5-0/mapserver/mapwms.c	2008-02-18 12:48:13 UTC (rev 7385)
+++ branches/branch-5-0/mapserver/mapwms.c	2008-02-18 13:17:22 UTC (rev 7386)
@@ -861,7 +861,7 @@
       return msWMSException(map, nVersion, "MissingParameterValue");
     }  
 
-    if (formatfound == 0)
+    if (formatfound == 0 && (strcasecmp(request, "GetMap") == 0 || strcasecmp(request, "map") == 0))
     {
       msSetError(MS_WMSERR, "Missing required parameter FORMAT", "msWMSLoadGetMapParams()");
       return msWMSException(map, nVersion, "MissingParameterValue");



More information about the mapserver-commits mailing list