[Mapbender-commits] r6466 - branches/2.6/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jun 30 05:28:15 EDT 2010
Author: mschulz
Date: 2010-06-30 09:28:15 +0000 (Wed, 30 Jun 2010)
New Revision: 6466
Modified:
branches/2.6/http/classes/class_connector.php
Log:
compare curl httpType case-insensitive, http://trac.osgeo.org/mapbender/ticket/651
Modified: branches/2.6/http/classes/class_connector.php
===================================================================
--- branches/2.6/http/classes/class_connector.php 2010-06-29 15:50:55 UTC (rev 6465)
+++ branches/2.6/http/classes/class_connector.php 2010-06-30 09:28:15 UTC (rev 6466)
@@ -166,7 +166,7 @@
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
//if httpType is POST, set CURLOPT_POST and CURLOPT_POSTFIELDS
- if($this->httpType == 'POST'){
+ if(mb_strtoupper($this->httpType) == 'POST'){
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $this->httpPostData);
$this_header = array(
More information about the Mapbender_commits
mailing list