Issue Bug Closed

#82067Links in RTE with problem when it doesn't have domain

Anonymous 08/09/17, 18:28 updated 10/26/18, 13:38

Description

In previous versions, when I added a hyperlink in rte with two dots and bar, like “../index”, this link is redirect for domain of my site and link.
Example: “../index” is redirect to “http://my.domain/index”.

In actual version (specifically 8.7.4), this error appers when I want to edit record:
#1320286857: File ../index is not valid (“..” and “//” is not allowed in path).
TYPO3\CMS\Core\Resource\Exception\InvalidPathException thrown in file
/var/www/html/myproject/siteroot/typo3_src/typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php in line 71.

It means method resolve in TYPO3\CMS\Core\LinkHandling\LinkService interprets two dots and bar like a folder.

Reviews 0

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