#8490: path_info equals script_name on lighttpd using fastcgi under a 
subdirectory
when accessed without a trailing '/'
-------------------------------------+--------------------------------------
          Reporter:  mtrichardson    |         Owner:  nobody                   
                
            Status:  closed          |     Milestone:  1.0                      
                
         Component:  Core framework  |       Version:  SVN                      
                
        Resolution:  fixed           |      Keywords:  path_info, script_name, 
lighttpd, fastcgi
             Stage:  Accepted        |     Has_patch:  1                        
                
        Needs_docs:  0               |   Needs_tests:  0                        
                
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Comment (by qingfeng):

 This patch is not good.

 the code is good:
 {{{
 if not path_info:
     path_info = u'/'
 if path_info == script_name:
     script_name = u''
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8490#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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to