Fixed bug #8005: Linking across domains does not work with nested domains
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 7 Apr 2008 07:03:26 +0000 (07:03 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 7 Apr 2008 07:03:26 +0000 (07:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3541 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 5d83c5e..52d2250 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-07  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug #8005: Linking across domains does not work with nested domains
+
 2008-04-06  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #7992: rtehtmlarea does not work with Firefox 3 Beta 5
index 0123085..316e964 100755 (executable)
@@ -5325,6 +5325,10 @@ class tslib_cObj {
                                                                        $tCR_flag = 1;  // OK, it was in rootline!
                                                                        break;
                                                                }
+                                                               if ($tCR_data['is_siteroot']) {
+                                                                       // Possibly subdomain inside main domain. In any case we must stop now because site root is reached.
+                                                                       break;
+                                                               }
                                                        }
                                                        if (!$tCR_flag) {
                                                                foreach ($tCR_rootline as $tCR_data)    {