[mapguide-commits] r9161 - sandbox/jng/clean_json/Web/src/HttpHandler

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Apr 20 05:22:37 PDT 2017


Author: jng
Date: 2017-04-20 05:22:37 -0700 (Thu, 20 Apr 2017)
New Revision: 9161

Modified:
   sandbox/jng/clean_json/Web/src/HttpHandler/HttpQueryMapFeatures.cpp
Log:
Fix v2.6 QUERYMAPFEATURES extra parameters being ignored if request version is 3.3.0 (to use CLEAN=1)

Modified: sandbox/jng/clean_json/Web/src/HttpHandler/HttpQueryMapFeatures.cpp
===================================================================
--- sandbox/jng/clean_json/Web/src/HttpHandler/HttpQueryMapFeatures.cpp	2017-04-19 17:35:47 UTC (rev 9160)
+++ sandbox/jng/clean_json/Web/src/HttpHandler/HttpQueryMapFeatures.cpp	2017-04-20 12:22:37 UTC (rev 9161)
@@ -72,7 +72,7 @@
     m_featureFilter = params->GetParameterValue(MgHttpResourceStrings::reqRenderingFeatureFilter);
 
     INT32 version = m_userInfo->GetApiVersion();
-    if (version == MG_API_VERSION(2,6,0))
+    if (version >= MG_API_VERSION(2,6,0))
     {
         m_requestData = 0;
         STRING strReqData = params->GetParameterValue(MgHttpResourceStrings::reqRenderingRequestData);



More information about the mapguide-commits mailing list