Skip to content
Snippets Groups Projects
Commit d3b26dc0 authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Benjamin Franzke
Browse files

[BUGFIX] Use proper editor.css path within TYPO3

GeneralUtility::createVersionNumberedFilename() will process the
provided path. It will execute a file_exists check. The file therefore
needs to be resolvable. Applying getPublicResourceWebPath() beforehand
will result in a web url, which can not be resolved on file system
level.
We therefore remove the unnecessary getPublicResourceWebPath() call.
createVersionNumberedFilename() will resolve EXT: paths anyway.

That way TYPO3 can properly handle the file and add the corresponding
version number if configured.
Furthermore this resolves open_basedir restriction issues on configured
systems.

Resolves: #102619
Releases: main, 12.4
Change-Id: I22dbd2187ee302e9cc1194c0522421fafab3938a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82120


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
parent 1f5e344b
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment