#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:
  negative index slicing             |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by bmispelon):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Isn't `path_info` guaranteed to be non-empty because of
 
https://github.com/django/django/blob/master/django/core/handlers/wsgi.py#L87-L92?

 Could you give us some details on what error you're seeing and how you're
 triggering it?

 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23173#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.f68c073680cf8ed6fc3d32d180ad99db%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to