#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 Victor Porton):

 For me the expected behavior is to make some valid file name, such as
 `file.bin` when empty string is used.

 It is a good behavior in any case. This will we will make it work as
 expected, as documented, and not to produce possible security holes in
 user code.

--
Ticket URL: <https://code.djangoproject.com/ticket/27689#comment:4>
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.86d8d18da05611c19c7e42b0276948fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to