#9586: Shall upload_to return an urlencoded string or not? -------------------------------------------+-------------------------------- Reporter: eibaan | Owner: nobody Status: new | Milestone: Component: File uploads/storage | Version: 1.0 Resolution: | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Changes (by eibaan):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: The attached patch makes sure that the admin UI always encodes the URL but still the file cannot be loaded for unknown reasons (and I think {{{django.views.static.serve}}} decodes it once to often and I haven't tried a "real" webserver yet). However, the {{{file.url}}} attribute should probably always encoded so I patched in the wrong place. -- Ticket URL: <http://code.djangoproject.com/ticket/9586#comment:1> Django <http://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 post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---