[wp-trac] Re: [WordPress Trac] #7270: tilde character encoded by mod_proxy creates a redirect loop on login

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 9 11:27:17 GMT 2008


#7270: tilde character encoded by mod_proxy creates a redirect loop on login
--------------------------------------------------+-------------------------
 Reporter:  hopson                                |        Owner:  anonymous
     Type:  defect                                |       Status:  reopened 
 Priority:  normal                                |    Milestone:           
Component:  Administration                        |      Version:  2.5.1    
 Severity:  normal                                |   Resolution:           
 Keywords:  has-patch needs-testing dev-feedback  |  
--------------------------------------------------+-------------------------
Changes (by dougieha):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 Replying to [comment:5 markjaquith]:
 > I cannot reproduce in WP 2.7.
 >
 > I placed this in my wp-config.php to simulate the Apache issue:
 >
 > {{{
 > $_SERVER['REQUEST_URI'] = str_replace('~', '%7E',
 $_SERVER['REQUEST_URI']);
 > }}}

 Hmmm...I can still reproduce in WP 2.7 (2.7-RC1-10119).  For example, I
 just went to fix the time setting on the General settings page (to correct
 the wrong DST time), and WP prompted me for my admin username and password
 (even though I was already logged in).  Upon entering the correct
 information, I was redirected back to the same login page in an endless
 loop.

 By adding the patch from jacobsantos and then doing the same thing, the
 setting was saved right away, without any prompt for the login page.  I've
 verified this several times, by adding and removing the patch.  Without, I
 get the login page and get stuck in a redirect loop; with the patch, it
 works fine.

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


More information about the wp-trac mailing list