Allow tildes.

git-svn-id: https://develop.svn.wordpress.org/trunk@1742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-10-05 06:45:10 +00:00
parent 4797b29430
commit 075ea09876
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);