[mapserver-commits] r7850 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Aug 14 14:01:10 EDT 2008


Author: dmorissette
Date: 2008-08-14 14:01:10 -0400 (Thu, 14 Aug 2008)
New Revision: 7850

Modified:
   trunk/mapserver/mapwms.c
Log:
Accept WMS requests in which the optional SERVICE param is missing (#2737) 


Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c	2008-08-14 17:23:47 UTC (rev 7849)
+++ trunk/mapserver/mapwms.c	2008-08-14 18:01:10 UTC (rev 7850)
@@ -2953,10 +2953,6 @@
         format = req->ParamValues[i];
   }
 
-  /* if SERVICE is not specified, this is not a WMS request */
-  if (service == NULL)
-    return MS_DONE;
-
   /* If SERVICE is specified then it MUST be "WMS" */
   if (service != NULL && strcasecmp(service, "WMS") != 0)
       return MS_DONE;  /* Not a WMS request */



More information about the mapserver-commits mailing list