#24103: Documentation for how filenames with reserved characters and words are
handled?
-------------------------------+--------------------
     Reporter:  nrogers64      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  master
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 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
 [https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words this
 table]).

--
Ticket URL: <https://code.djangoproject.com/ticket/24103>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.fa016ec72f2b11c55cab89776140a378%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to