Fixed bug #16091: ExtDirect calls get cached with domain resulting in "unable to...
authorSteffen Kamper <info@sk-typo3.de>
Wed, 1 Dec 2010 11:15:36 +0000 (11:15 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 1 Dec 2010 11:15:36 +0000 (11:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9710 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/extjs/class.t3lib_extjs_extdirectapi.php

index 84ba495..bf2532a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-01  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #16091: ExtDirect calls get cached with domain resulting in "unable to connect to the server" exceptions (Thanks to Andreas Kiessling)
+
 2010-12-01  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Raised DBAL to version 1.2.0beta2
index 00a54d4..c74f463 100644 (file)
@@ -74,7 +74,7 @@ class t3lib_extjs_ExtDirectApi {
                        // look up into the cache
                $cacheIdentifier = 'ExtDirectApi';
                $cacheHash = md5($cacheIdentifier . $filterNamespace .
-                                                serialize($this->settings) . TYPO3_MODE);
+                        serialize($this->settings) . TYPO3_MODE . t3lib_div::getIndpEnv('HTTP_HOST'));
 
                        // with no_cache always generate the javascript content
                $cacheContent = $noCache ? '' : t3lib_pageSelect::getHash($cacheHash);