We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e93251 commit 6386405Copy full SHA for 6386405
1 file changed
qa-include/app/users-edit.php
@@ -51,8 +51,9 @@ function qa_handle_email_filter(&$handle, &$email, $olduser = null)
51
52
$errors = array();
53
54
- // sanitise 4-byte Unicode
+ // sanitize 4-byte Unicode and invisible characters
55
$handle = qa_remove_utf8mb4($handle);
56
+ $handle = preg_replace('/\p{C}+/u', '', $handle);
57
58
$filtermodules = qa_load_modules_with('filter', 'filter_handle');
59
0 commit comments