Opened 8 years ago

Closed 8 years ago

#24103 closed Uncategorized (needsinfo)

Documentation for how filenames with reserved characters and words are handled?

Reported by: nrogers64 Owned by: nobody
Component: Uncategorized Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Let's say I have a Django site being hosted on a Windows machine with an NTFS file system, and this site has a model with a FileField. Now let's say I access this site from a Mac and upload a file named "foo*bar" (note the asterisk in the middle). What would happen when Django tries to write that file to disk on the Windows machine, given that asterisks are not allowed on NTFS file systems? I don't think the answer to that question is documented anywhere, though I may have just overlooked it. And if Django allows that filename by default, I wonder if it would make sense to provide a way to strip out characters like that (see this table).

Change History (2)

comment:1 Changed 8 years ago by Tim Graham

If you are affected by this issue, could you please research it and propose a patch?

comment:2 Changed 8 years ago by Tim Graham

Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top