mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
Allow tildes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
37f854a969
commit
e4e021901d
@ -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