Code

Opened 5 years ago

Closed 4 years ago

#11766 closed (worksforme)

ImageFileField run through get_valid_filename (Optional|default)

Reported by: amites 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: UI/UX:

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?

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by amites

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from ImageFileField run through gget_valid_filename (Optional|default) to ImageFileField run through get_valid_filename (Optional|default)

oops - spelling mistakes

comment:2 Changed 4 years ago by russellm

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.