#27689: FileSystemStorage().get_valid_name() may return empty string
-------------------------------------+-------------------------------------
Reporter: Victor Porton | Owner: nobody
Type: Bug | Status: new
Component: File | Version: 1.10
uploads/storage |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
What are the steps to reproduce `get_valid_name()` called with an empty
string? How can you upload a file without a name? At least browsers don't
seem to allow that. Maybe you can provide a test that uses the test
client? It seems like the expected behavior would be for Django's form
validation to prevent that call in the first place, or did you have some
other resolution in mind?
--
Ticket URL: <https://code.djangoproject.com/ticket/27689#comment:1>
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/065.20c89e03fabb550a7416a4d6780b7ad9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.