Project

General

Profile

Actions

Task #46553

closed

Resolve issues with case-sensitive files

Added by Andreas Wolf about 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-03-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, the handling of file-name casing is improperly defined: The database will usually be case-insensitive (for MySQL this is the default), but we cannot be sure if the filesystem supports case-sensitivity. This leads to a multitude of problems, as the edge-cases are not considered in the code.

We first have to check if we want to support case-sensitivity at all. If not,
  1. case-sensitive file systems have to be taken care of in the driver (which might require quite some work for all comparisons etc.) and
  2. we have to make sure the database is always case-insensitive.
If we want to support case-sensitivity,
  1. the file system might still not support it, so we have to cope with that (i.e., check if a file with the same name, but different casing exists before adding a file)
  2. the database always has to be case-sensitive (or we have to store SHA1/MD5 hashes of name and identifier and compare against these)

Oracle and PostgreSQL seem to have case-sensitivity as the default, while MySQL is case-insensitive by default (for sensitivity the collation of the column has to be changed to utf8_bin).


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Feature #44991: DB table COLLATION: disabled for ext_tables.sql but not for ext_tables_static+adt.sqlClosedMorton Jonuschat2013-01-30

Actions
Related to TYPO3 Core - Bug #45504: Case sensitive filenames lead to file list problemsClosed2013-02-15

Actions
Related to TYPO3 Core - Bug #43027: Problems on case-sensitive filesystemsClosedAndreas Wolf2012-11-16

Actions
Related to TYPO3 Core - Bug #53575: Language module: Wrong argument passed to File::updateProperties()ClosedNicole Cordes2013-11-12

Actions
Related to TYPO3 Core - Task #53604: CleanUp Canonicalize and Unique Identifier in DriversClosedSteffen Ritter2013-11-13

Actions
Actions #1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Accepted to Under Review

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23398

Actions #2

Updated by Gerrit Code Review over 10 years ago

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

Actions #3

Updated by Gerrit Code Review over 10 years ago

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

Actions #4

Updated by Gerrit Code Review over 10 years ago

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

Actions #5

Updated by Gerrit Code Review over 10 years ago

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

Actions #6

Updated by Gerrit Code Review over 10 years ago

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

Actions #7

Updated by Andreas Wolf over 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF