#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 mardini):
`urljoin()` is implemented like this in Python to be consistent with RFC
3986, section 5.2.3. (http://tools.ietf.org/html/rfc3986#section-5.2.3)
which states how merging a relative-path with the base URI should work. It
*might* not be a good idea to override that standard for the convince.
--
Ticket URL: <https://code.djangoproject.com/ticket/22717#comment:5>
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.f774bd41561a8301bbf9019f360febad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.