Actions
Task #46553
closedResolve issues with case-sensitive files
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,- case-sensitive file systems have to be taken care of in the driver (which might require quite some work for all comparisons etc.) and
- we have to make sure the database is always case-insensitive.
- 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)
- 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).
Actions