-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem bei Dateinamen mit unterschiedlicher Groß- und Kleinschreibung #1433
Comments
Das dürfte höchstwahrscheinlich an der in der DB eingestellten COLLATION liegen. Aber unabhängig davon: zwei Dateien mit "gleichen" Namen dir sich nur durch Groß-/Kleinschreibung unterscheiden provozieren m.E. Anwenderfehler und zudem dürften Windows-User lokal damit sowieso Probleme haben.
Das wäre m.E. sinnlos, denn ein |
|
Als Windows-User habe ich immer Probleme, wenn ich das Web synchronisiere, weil Redakteure ihre Dateien vor dem Hochladen nicht richtig benennen. Und ich will JPG natürlich in jpg umbenennen. Wenn ich ein PNG brauche, konvertiere ich das JPG lokal. |
|
@contao/developers Should we change the collation of |
|
Or is this a known limitation as not all file systems support case-sensitive filenames? |
Which ones do not? |
NTFS for example 🙊 (and FAT presumably) |
|
Windows does not. In Windows IMHO Contao should watch out that there is no I use proper-filenames https://github.com/numero2/contao-proper-filenames so the editors can not upload files with uppercase letters. |
|
I hate IT. Yeah, let's leave that up for discussion for some call. |
HFS, HFS+, APFS |
|
In fact NTFS is case sensitive BUT doesn't allow to create file names which differ only by cases. This causes most of the troubles. Even APFS and HFS+ are able to store case sensitive file names if you tell them to do so. Lesson to learn: One should not make any assumptions regarding the capabilities of a file system. There should be some kind of mechanism for normalizing the name of an uploaded file, IMO preferable to lower case. In fact, with a database assisted file system, the real name of a file doesn't matter at all. BTW, there is an extension which fixes the issue with jpg/JPG, see https://github.com/numero2/contao-proper-filenames @Samson1964 |
As discussed in Mumble on April 12th, this is what we want to do. |
|
Changed in 39d45b3. |
Die Dateiverwaltung von Contao 4.4.14 hat Probleme Dateien mit unterschiedlicher Groß- und Kleinschreibung zu unterscheiden.
Es wäre zudem hilfreich, könnte man auch die Dateiendung bearbeiten. Bisher muß ich immer den zweigleisigen Umweg über FTP und phpMyAdmin machen.
The text was updated successfully, but these errors were encountered: