#59088PathUtility::stripPathSitePrefix() fails with symlinked TYPO3-dirs
Description
- TYPO3 is installed in /var/www/html/www1
- But the (other) vhost that gets called by the browser is /var/www/html/somefoobar, which is a symlink to /var/www/html/www1
(a separate website but on the same TYPO3-installation)
- In an extension a call like siteRelPath(‘extensionmanager’) will return /var/www/html/somefoobar/typo3/sysext/extensionmanager/
- while PATH_site used in PathUtility::stripPathSitePrefix() equals to /var/www/html/www1/
Thus the returned path from siteRelPath will be ‘oobar/typo3/sysext/extensionmanager/’ leading to an error.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.