Bug #22136
closedPopup-functionality for Pages using target field don't work in IE
100%
Description
If I use the target field for pages to open a popup-window, the IE (all versions) opens a wrong URL (e.g. http://domain.de/en/page1/page1_1/en/page1/page1_1/). I think the problem in TYPO3 is that no baseurl is prepended the url.
If I replace the line 1276 in the file "class.tslib_menu.php"
$onClick = 'vHWin=window.open(\'' . $LD['totalURL'] . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';
with
$onClick = 'vHWin=window.open(\'' . $GLOBALS['TSFE']->baseUrlWrap($LD['totalURL']) . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';
all works fine.
I have found this solution in the file "class.tslib_content.php" on line 6205. In this file baseUrlWrap() is used to wrap the url.
It seems, that this IE problem was already reported to Microsoft, but unfortunately, not fixed yet.
http://connect.microsoft.com/VisualStudio/feedback/details/449388/base-href-is-ignored-for-shortcut-icon-window-open-and-window-location-href
(issue imported from #M13575)