Opened 15 years ago

Closed 15 years ago

#11766 closed (worksforme)

ImageFileField run through get_valid_filename (Optional|default)

Reported by: Alvin Mites Owned by: nobody
Component: File uploads/storage Version: 1.1
Severity: 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

Not sure where the best place to add this would be so I'll forgo submitting a patch

currently if you upload an image file with a space in it

ex: 'todo list.jpg'

the file will upload & save itself with the space, when I retrieve the file it comes back blank

perhaps this should be a boolean option in the model field with a default of True?

Change History (2)

comment:1 by Alvin Mites, 15 years ago

Summary: ImageFileField run through gget_valid_filename (Optional|default)ImageFileField run through get_valid_filename (Optional|default)

oops - spelling mistakes

comment:2 by Russell Keith-Magee, 15 years ago

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