Index: t3lib/class.t3lib_befunc.php =================================================================== --- t3lib/class.t3lib_befunc.php (Revision 7074) +++ t3lib/class.t3lib_befunc.php (Arbeitskopie) @@ -2663,12 +2663,12 @@ * @param integer $pageId the page ID to use, must be > 0 * @param array $rootLine the root line structure to use * - * @return string the full domain including the protocol http:// or https:// + * @return string the full domain including the protocol http:// or https://, but without the trailing '/' * * @author Michael Klapper */ public static function getViewDomain($pageId, $rootLine = null) { - $domain = t3lib_div::getIndpEnv('TYPO3_SITE_URL'); + $domain = rtrim(t3lib_div::getIndpEnv('TYPO3_SITE_URL'), '/'); if (!is_array($rootLine)) { $rootLine = t3lib_BEfunc::BEgetRootLine($pageId);