Allow tildes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4797b29430
commit
075ea09876
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user