Bug #82067

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

Added by Michelle Araujo 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-08-09
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Also available in: Atom PDF