[mapserver-commits] r7385 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Feb 18 07:48:13 EST 2008
Author: tomkralidis
Date: 2008-02-18 07:48:13 -0500 (Mon, 18 Feb 2008)
New Revision: 7385
Modified:
trunk/mapserver/mapwms.c
Log:
relax FORMAT parameter restrictions for GetFeatureInfo (#2517)
Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c 2008-02-15 21:54:08 UTC (rev 7384)
+++ trunk/mapserver/mapwms.c 2008-02-18 12:48:13 UTC (rev 7385)
@@ -921,7 +921,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