From 075ea0987667aee366288fa597688758acebfd99 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 5 Oct 2004 06:45:10 +0000 Subject: [PATCH] Allow tildes. git-svn-id: https://develop.svn.wordpress.org/trunk@1742 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-login.php b/wp-login.php index 427a4d721a..a0aeaf0625 100644 --- a/wp-login.php +++ b/wp-login.php @@ -139,7 +139,7 @@ default: if( !empty($_POST) ) { $log = $_POST['log']; $pwd = $_POST['pwd']; - $redirect_to = preg_replace('|[^a-z/.:_-]|i', '', $_POST['redirect_to']); + $redirect_to = preg_replace('|[^a-z/~.:_-]|i', '', $_POST['redirect_to']); } $user = get_userdatabylogin($log);