#23173: SCRIPT_URL on WSGI is misinterpreted when PATH_INFO is empty
-------------------------------------+-------------------------------------
Reporter: j-sz@… | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: master
Severity: Normal | Resolution:
Keywords: wsgi, script name, | Triage Stage: Accepted
negative index slicing | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by bmispelon):
Also, I took a quick look at other instances of `'\[:-[^0-9]'` and they
all seem OK except maybe one.
There's one in
https://github.com/django/django/blob/master/django/contrib/staticfiles/storage.py#L180
that could be an issue but I couldn't figure out if there's actually a way
to trigger the problematic case.
If you can figure it out, please open a separate ticket.
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/23173#comment:4>
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/068.a3e2709ee967410352824d4a3d12501f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.