Issue Bug Closed

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

Marc Lindemann 08/09/22, 14:40 updated 10/04/22, 08:53

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?

Reviews 6