#12464: Empty PATH_INFO causes blank SCRIPT_NAME
------------------------------------+---------------------------------------
          Reporter:  chrisw         |         Owner:  wogan
            Status:  assigned       |     Milestone:  1.3  
         Component:  HTTP handling  |       Version:  SVN  
        Resolution:                 |      Keywords:       
             Stage:  Accepted       |     Has_patch:  1    
        Needs_docs:  0              |   Needs_tests:  0    
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by dchandek):

 What needs to be done here to move the stage back to "ready for checkin"?

 Now, it appears that the currently available Django solution to this issue
 is to set FORCE_SCRIPT_NAME, e.g.:

 {{{
 FORCE_SCRIPT_NAME = '/project'
 }}}

 Nevertheless, although the origin of this problem (i.e., inconsistent
 setting of SCRIPT_URL) lies outside of Django, it seems to me basic sanity
 to avoid whacking a string by slicing it with `[:-0]`.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12464#comment:7>
Django <http://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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to