We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54f09f commit 4c80b86Copy full SHA for 4c80b86
plugins/virtuser_file/virtuser_file.php
@@ -68,6 +68,8 @@ public function email2user($p)
68
$arr = preg_split('/\s+/', trim($r[$i]));
69
70
if (count($arr) > 0) {
71
+ // Replace '\@' with '@' to handle cases where internal usernames include an '@' character.
72
+ // Sometimes usernames with '@' are saved with a leading '\' to avoid conflicts.
73
$p['user'] = trim(str_replace('\@', '@', $arr[count($arr) - 1]));
74
break;
75
}
0 commit comments