Project

General

Profile

Actions

Bug #97864

open

file mount directory classified as file, if the directory name has point

Added by Anonymous almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2022-07-07
Due date:
% Done:

0%

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

Description

file mount directory e.g. "test.com" will be classified as file, if the directory name has point.

TYPO3:
  CMS:
    Form:
      persistenceManager:
        allowedFileMounts:
          100: '1:/test.com/'

The problem is using pathinf() to check if $persistencePath is a file or a directory, in .../typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php

    public function isAllowedPersistencePath(string $persistencePath): bool
    {
        $pathinfo = PathUtility::pathinfo($persistencePath);
        $persistencePathIsFile = isset($pathinfo['extension']);
        ...

Actions #1

Updated by Björn Jacob almost 2 years ago

  • Sprint Focus set to Remote Sprint
Actions

Also available in: Atom PDF