Allow tildes.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-10-05 06:45:10 +00:00
parent 37f854a969
commit e4e021901d
1 changed files with 1 additions and 1 deletions

View File

@ -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);