Project

General

Profile

Actions

Bug #98106

closed

fix for 97939 creates open_basedir restriction for "relative" absolute urls

Added by Marc Lindemann almost 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

fix https://github.com/typo3/typo3/commit/419ff04f53

 includeCSS {
        main = /static/main.css
    }

creates now a "PHP Warning: file_exists(): open_basedir restriction in effect. File(/static/main.css) is not within the allowed path(s)"
removing the first slash fixes the issue.

https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/DataTypes/Index.html#data-type-resource

-> it "should" work with / at the beginning?


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #97939: Version number is not added to filename of backend assetsClosed2022-07-14

Actions
Related to TYPO3 Core - Bug #98152: PHP Warning: file_exists(): open_basedir restriction in effect. ClosedBenni Mack2022-08-16

Actions
Related to TYPO3 Core - Bug #98111: Open Basedir restriction in effect! GeneralUtility.php line 2309Rejected2022-08-10

Actions
Actions

Also available in: Atom PDF