[wp-trac] Re: [WordPress Trac] #5160: REQUEST_URI fix for IIS misses certain configurations

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 9 07:36:49 GMT 2007


#5160: REQUEST_URI fix for IIS misses certain configurations
-------------------------------------------------+--------------------------
 Reporter:  brh                                  |        Owner:  anonymous
     Type:  defect                               |       Status:  reopened 
 Priority:  normal                               |    Milestone:  2.4      
Component:  General                              |      Version:           
 Severity:  normal                               |   Resolution:           
 Keywords:  REQUEST_URI has-patch needs-testing  |  
-------------------------------------------------+--------------------------
Comment (by snakefoot):

 The problem is that REQUEST_URI is missing the page name, while rest of
 the path is correct (Everything comes from SCRIPT_NAME). The patches I
 have attached fixes the problem with the missing page-name, by not
 removing it from SCRIPT_NAME (bug introduced by me).

 The bug introduced by me breaks the admin-panel, and should be fixed on
 trunk and branch right away.

 If we should handle the situation of ORIG_PATH_INFO being set and no
 PATH_INFO, then we need to know the values of PATH_INFO, ORIG_PATH_INFO,
 SCRIPT_NAME in these two situations:

 http://brh.numbera.com/blog/index.php
 http://brh.numbera.com/blog/index.php/my-post-name/

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5160#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list