Issue Bug Closed

#88506Scheduler generated URLs contain absolute unix paths

Nils Vindice 06/06/19, 10:29 updated 01/15/20, 17:43

Description

I use Typo3 v8 with the Aimeos shop extension, which uses \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder for URL generation. When using the scheduler like recommended by Typo3 docs:

*/15 * * * * /usr/local/bin/php /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run

all URLs generated contain the absolute unix path, eg: https://mypage.com*/home/user/www/typo3/htdocs/*product/….

When switching to the typo3 directory and calling cli_dispatcher from there directly, eg:

 * * * * * cd /home/user/www/typo3 && ./cli_dispatcher.phpsh scheduler

all URLs are created correctly. Same when calling the scheduler manually from the backend.

IMHO, all scheduler calls should return the same results.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.