#15521: Regression in file storage behavior following r15409
------------------------------------+---------------------------------------
Reporter: russellm | Owner: nobody
Status: new | Milestone: 1.3
Component: File uploads/storage | Version: 1.2
Keywords: blocker, regression | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
------------------------------------+---------------------------------------
Reported in [http://code.djangoproject.com/ticket/15181#comment:6 a
comment on #15181], as a consequence of r15409:
Previously:
{{{
>>> from django.core.files.storage import DefaultStorage, settings
>>> settings.configure(MEDIA_URL='http://localhost')
>>> DefaultStorage().url('http://media/test')
'http://media/test'
}}}
Now:
{{{
>>> from django.core.files.storage import DefaultStorage, settings
>>> settings.configure(MEDIA_URL='http://localhost')
>>> DefaultStorage().url('http://media/test')
'http://localhost/http%3A//media/test'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/15521>
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 [email protected].
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.