#26644: [Regression?] SuspiciousFileOperation when creating a File from a NamedTemporaryFile -------------------------------------+------------------------------------- Reporter: hobarrera | Owner: nobody Type: Bug | Status: new Component: File | Version: 1.10 uploads/storage | Severity: Release blocker | Resolution: Keywords: File, | Triage Stage: SuspiciousFileOperation, | Unreviewed NamedTemporaryFile, regression | Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by hobarrera): For some reason I'd started blindly looking at commits instead of bisecting. Dunno what came over me. Anyway, I wrote a quick test script and here goes: {{{ $ git bisect bad 914c72be2abb1c6dd860cb9279beaa66409ae1b2 is the first bad commit commit 914c72be2abb1c6dd860cb9279beaa66409ae1b2 Author: Cristiano <cristiano...@hotmail.com> Date: Sun Mar 20 22:51:17 2016 -0300 Fixed #26058 -- Delegated os.path bits of FileField's filename generation to the Storage. :040000 040000 58b8cffd061048624df2ec4824b13d48afb62ec5 a95fac52046826060aa64515993cc041dfc3c838 M django :040000 040000 87bed8c670d6f452c8f210c1c92b9279ac9b268b ba415dad2ee1ec6ba4bd202720241df262ef695c M docs :040000 040000 16c679a9e8de544fc17e7229460a0a5452aee0ac b17aaf89f7853bdf2a3c7a933633557cd8691793 M tests }}} -- Ticket URL: <https://code.djangoproject.com/ticket/26644#comment:2> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.9bbbac21d408271cc754f876fb4c5a73%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.