#22717: FileField.url returns a wrong URL
-------------------------------------+-------------------------------------
Reporter: david.fischer.ch@… | Owner: nobody
Type: Bug | Status: new
Component: File | Version: master
uploads/storage | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
storage,filefield,url | Patch needs improvement: 0
Has patch: 1 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Comment (by claudep):
IMHO, RFC 3986 is aimed at "generic" merging, where you can't assume that
`/url` point to a path, but can also be an arbitrary resource. In our
case, `base_url` can be considered as a path in all cases (AFAIK), that's
why I don't see the problem of auto-adding the ending slash. But if anyone
can come with a use case where this is not wanted behavior, I'll happily
change my mind.
--
Ticket URL: <https://code.djangoproject.com/ticket/22717#comment:6>
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/084.6f27c60a43038355ffe1236cb57a9afd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.