Bug #79776

Filelist not accessible with encoded Umlauts

Added by Nicole Cordes over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2017-02-13
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

We have a mounted folder from a Windows system in one of our TYPO3 systems. With the update to TYPO3 7.6.13 the file list is inaccessible now as there are some issues with German Umlauts. It seems the linux is not able to handle Umlauts coming from a Windows system but encodes them with/to control characters. With the introduced security patch from https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2016-024/ files are now considered as invalid and an exception is thrown. This exception should be caught and not break the list view.

Associated revisions

Revision d487b708 (diff)
Added by Nicole Cordes over 3 years ago

[BUGFIX] Ignore invalid files in LocalDriver::getDirectoryItemList

Due to some security changes in GeneralUtility::validPathStr some
wrongly encoded files are now returned as invalid. This breaks e.g. the
file list.
This patch adds a try/catch block to ignore invalid files and return the
valid ones.

Resolves: #79776
Releases: master, 7.6, 6.2
Change-Id: Iaa3697b04c123bba61a426fdf39ee3959f68b705
Reviewed-on: https://review.typo3.org/51655
Tested-by: TYPO3com <>
Reviewed-by: Tobias Liebig <>
Tested-by: Tobias Liebig <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Sascha Egerer <>
Tested-by: Sascha Egerer <>
Reviewed-by: Joerg Boesche <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>

Revision 79e692f1 (diff)
Added by Nicole Cordes over 3 years ago

[BUGFIX] Ignore invalid files in LocalDriver::getDirectoryItemList

Due to some security changes in GeneralUtility::validPathStr some
wrongly encoded files are now returned as invalid. This breaks e.g. the
file list.
This patch adds a try/catch block to ignore invalid files and return the
valid ones.

Resolves: #79776
Releases: master, 7.6, 6.2
Change-Id: Iaa3697b04c123bba61a426fdf39ee3959f68b705
Reviewed-on: https://review.typo3.org/51845
Tested-by: TYPO3com <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review over 3 years ago

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

#3 Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51845

#4 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51845

#5 Updated by Nicole Cordes over 3 years ago

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

#6 Updated by Stephan GroƟberndt about 3 years ago

  • Subject changed from Filelist not accassble with encoded Umlauts to Filelist not accessible with encoded Umlauts

#7 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF