sigh - can't restrict to X-* headers, activesync also sends others that we need.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 29 Mar 2010 19:40:08 +0000 (15:40 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 29 Mar 2010 19:40:08 +0000 (15:40 -0400)
framework/Controller/lib/Horde/Controller/Request/Http.php

index fe39e74..9a9fad2 100644 (file)
@@ -608,7 +608,7 @@ class Horde_Controller_Request_Http extends Horde_Controller_Request_Base
         foreach ($result as $k => $v) {
             if (!empty($map[$k])) {
                 $mapped_result[$map[$k]] = $v;
-            } elseif (substr($k, 0, 6) == 'HTTP_X') {
+            } elseif (substr($k, 0, 5) == 'HTTP_') {
                 // Try to work with what we have...
                 $hdr_key = substr($k, 5);
                 $tokens = explode('_', $hdr_key);