Details
-
Bug
-
Status: Unverified Fix
-
Resolution: Fixed
-
None
Description
When a username is entered into the source or target field and the username happens to start with numbers, the username is cast to an integer which is then used for the user_id.
Lines 63 and 64 of merge_users.php are what is causing the problem:
$source = ($source = request_var('source', 0)) ? $source : utf8_normalize_nfc(request_var('source', '', true));
|
$target = ($target = request_var('target', 0)) ? $target : utf8_normalize_nfc(request_var('target', '', true));
|
For example, if a username is 2057bulb, the username will be cast to 2057 and will be used as the user_id which is incorrect.