Closed (duplicate)
Project:
User Import
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2008 at 15:16 UTC
Updated:
7 Jul 2008 at 00:08 UTC
I tried to import a few hundred users with Greek usernames and all names came up as sequences of 2. I think this happened because the first one was replaced with an empty string as the Greek characters were not allowed. And then a 2 kept being added to avoid duplication of existing names.
As soon as I removed this line (1173):
$username = preg_replace('/[^a-zA-Z0-9@ ]/', ' ', $username);
it worked without a problem.
So maybe the sanitisation needs to be less strict.
Comments
Comment #1
robert castelo commentedhttp://drupal.org/node/190437