Project

General

Profile

Actions

Bug #98005

closed

Use sanitized filename as source identifier when replacing an image

Added by Simon Schaufelberger almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2022-07-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
On Location Sprint

Description

Steps to reproduce:

  • upload an image with a name like: "straße.txt"
  • file will be stored as "strasse.txt"
  • open context menu and rename file to "straße.txt"
  • choose "overwrite" in the modal window

result:

503
Oops, an error occurred!
File /user_upload/straße.txt does not exist.

Expected:

Flash message:

File "strasse.txt" was not renamed. (Same name as before)


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #96922: FAL file DuplicationBehavior::REPLACE is using public file pathNew2022-02-16

Actions
Actions #1

Updated by Gerrit Code Review almost 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/+/75267

Actions #2

Updated by Simon Schaufelberger almost 2 years ago

  • Description updated (diff)
Actions #3

Updated by Simon Schaufelberger over 1 year ago

  • Description updated (diff)
Actions #4

Updated by Riccardo De Contardi over 1 year ago

  • Sprint Focus set to On Location Sprint
Actions #5

Updated by Sascha Egerer over 1 year ago

Is this related to #96922 ?

Actions #6

Updated by Sascha Egerer over 1 year ago

  • Related to Bug #96922: FAL file DuplicationBehavior::REPLACE is using public file path added
Actions #7

Updated by Simon Schaufelberger over 1 year ago

This is a different bug than the related one.

Actions #8

Updated by Gerrit Code Review over 1 year 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/+/75355

Actions #9

Updated by Gerrit Code Review over 1 year 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/+/75356

Actions #10

Updated by Anonymous over 1 year ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF