#8593: Image upload in Windows changes filename to lowercase
------------------------------------+---------------------------------------
 Reporter:  robvdl                  |       Owner:  nobody    
   Status:  new                     |   Milestone:            
Component:  File uploads/storage    |     Version:  SVN       
 Keywords:  upload image lowercase  |       Stage:  Unreviewed
Has_patch:  0                       |  
------------------------------------+---------------------------------------
 When using an ImageField and uploading an image via admin, say the
 filename was Test.jpg, uploading it in Linux will save the file as
 Test.jpg on the disk, and the reference in the database is also Test.jpg,
 things work normally as expected here.

 However, when uploading the same file in Windows, the filename is saved on
 the disk as test.jpg (all lower case), but in the database is still
 referenced as Test.jpg. Since the filesystem in Windows is not case
 sensitive, this is not really much of an issue immediately. If you
 however, then copy your Django based site back to a Linux based machine,
 you will get a missing image, as it is expected to find the file
 "Test.jpg" in the filesystem, however the file is "test.jpg". In this
 case, this can become a bit of a problem.

 I am not sure if the problem is related to Django or Python on Windows.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8593>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to