[mapguide-commits] r8418 - trunk/MgDev/UnitTest/WebTier/Php

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Oct 18 05:07:04 PDT 2014


Author: jng
Date: 2014-10-18 05:07:04 -0700 (Sat, 18 Oct 2014)
New Revision: 8418

Modified:
   trunk/MgDev/UnitTest/WebTier/Php/HttpRequest.php
Log:
#2494: Roll back r8414. This changes test behaviour on windows.

Modified: trunk/MgDev/UnitTest/WebTier/Php/HttpRequest.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/HttpRequest.php	2014-10-18 11:21:49 UTC (rev 8417)
+++ trunk/MgDev/UnitTest/WebTier/Php/HttpRequest.php	2014-10-18 12:07:04 UTC (rev 8418)
@@ -41,11 +41,6 @@
         curl_setopt($this->ch, CURLOPT_HTTPGET, true);
         if ("POST" == $requestType)
         {
-            foreach ($arrayParam as $key => $value) {
-                if (strpos($value, "@") === 0) {
-                    $arrayParam[$key] = new CURLFile(substr($value, 1));
-                }
-            }
             curl_setopt($this->ch, CURLOPT_POST,1);
             curl_setopt($this->ch, CURLOPT_POSTFIELDS, $arrayParam);
         }



More information about the mapguide-commits mailing list