[wp-trac] Re: [WordPress Trac] #4873: visitor redirected to 404 after logging in for comment

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 1 21:00:27 GMT 2007


#4873: visitor redirected to 404 after logging in for comment
-------------------------------+--------------------------------------------
 Reporter:  eightize           |        Owner:  westi     
     Type:  defect             |       Status:  new       
 Priority:  normal             |    Milestone:  2.4 (next)
Component:  General            |      Version:  2.3       
 Severity:  major              |   Resolution:            
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Comment (by markjaquith):

 > i have removed my patch from this live version

 Your patch, in my testing, does nothing.  "+" gets through either way.

 Try this:

 {{{
 <?php

 $test = $test2 = '+';

 $test  = preg_replace('|[^+]|', '', $test);
 $test2 = preg_replace('|[^\+]|', '', $test);

 var_dump($test);
 var_dump($test2);

 ?>
 }}}

 You should get:

 {{{
 string(1) "+" string(1) "+"
 }}}

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


More information about the wp-trac mailing list