Project

General

Profile

Actions

Bug #82067

closed

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

Added by Anonymous over 6 years ago. Updated over 5 years ago.

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

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

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.

Actions

Also available in: Atom PDF