#24336: static server should skip for protocol-relative STATIC_URL
------------------------------+--------------------------------------
Reporter: Tuttle | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------+--------------------------------------
Comment (by aaugustin):
It would be safer to skip URLs starting with:
- `http://`
- `https://`
- `//`
The most robust solution may be to parse the URL and skip it if the host
part isn't empty.
--
Ticket URL: <https://code.djangoproject.com/ticket/24336#comment:3>
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/064.5a11993698dfa813b919aa385dae1586%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.