Project

General

Profile

Actions

Bug #98106

closed

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

Added by Marc Lindemann over 2 years ago. Updated about 2 years 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 #1

Updated by Benni Mack over 2 years ago

  • Related to Bug #97939: Version number is not added to filename of backend assets added
Actions #2

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75412

Actions #3

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75368

Actions #4

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75369

Actions #5

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75369

Actions #6

Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 3 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75369

Actions #8

Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Lina Wolf over 2 years ago

It seems like this change solves the problem only in the frontend.

After upgrading to 11.5.14 I had the described problem both in frond-end (in a homemade Middleware) and backend (in the backend modules of apache-solr-for-typo3/solr:11.5.0-rc-1).

After applying the patch from the change the problem in the frondend was solved, however not the one in the backend.

Actions #10

Updated by Lina Wolf over 2 years ago

  • Related to Bug #98152: PHP Warning: file_exists(): open_basedir restriction in effect. added
Actions #11

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75477

Actions #12

Updated by Oliver Hader over 2 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Georg Ringer about 2 years ago

  • Related to Bug #98111: Open Basedir restriction in effect! GeneralUtility.php line 2309 added
Actions #14

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF