Save+Preview not working correct with domain records
Let's say you have a domain record for redirecting domain.com to www.domain.com configured.
If you login into the backend with domain.com/typo3 instead of www.domain.com/typo3 every preview link (context menu or docheader) will try to open something like http:/index.php?id=5
If you are logged into the backend with www.domain/typo3 everything works like a charm
(issue imported from #M16150)