[wp-cvs] wordpress wp-login.php,1.35,1.36

Matthew Mullenweg saxmatt at users.sourceforge.net
Tue Oct 5 06:45:12 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31453

Modified Files:
	wp-login.php 
Log Message:
Allow tildes.

Index: wp-login.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** wp-login.php	4 Oct 2004 08:03:51 -0000	1.35
--- wp-login.php	5 Oct 2004 06:45:10 -0000	1.36
***************
*** 140,144 ****
  		$log = $_POST['log'];
  		$pwd = $_POST['pwd'];
! 		$redirect_to = preg_replace('|[^a-z/.:_-]|i', '', $_POST['redirect_to']);
  	}
  	
--- 140,144 ----
  		$log = $_POST['log'];
  		$pwd = $_POST['pwd'];
! 		$redirect_to = preg_replace('|[^a-z/~.:_-]|i', '', $_POST['redirect_to']);
  	}
  	




More information about the cvs mailing list