Project

General

Profile

Actions

Bug #95534

closed

FilePathSanitizer doesn't allow files in Private dir

Added by Georg Ringer about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-07
Due date:
% Done:

0%

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

Description

having a TS like

page >
page = PAGE
page {
  10 = IMAGE
  10 {
    file = GIFBUILDER
    file {
      format = jpg
      quality = 88
      XY = 300,50
      backColor = #fc8123
      20 = TEXT
      20 {
        offset = 10,22
        fontColor = #ffffff
     #   fontFile = EXT:website/Resources/Public/Fonts/vera.ttf
        text = TYPO
        text.wrap = |3
      }
    }
  }
}

shows an exception "Resource paths must start with "EXT:" and must reference Resources/Public"

so either the FilePathSanitizer is too picky or the default font provided in GifBuilder must be changed


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #95495: GIFBUILDER: default font does not pass sanitizingClosed2021-10-06

Actions
Actions #1

Updated by Georg Ringer about 3 years ago

  • Status changed from Accepted to Closed

closed in favor of #95495

Actions #2

Updated by Georg Ringer about 3 years ago

  • Is duplicate of Bug #95495: GIFBUILDER: default font does not pass sanitizing added
Actions

Also available in: Atom PDF