Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7 upgrade fails to handle usernames with national characters (Trac #2123) #2123

Closed
elgg-gitbot opened this issue Feb 16, 2013 · 3 comments
Closed

Comments

@elgg-gitbot
Copy link

Original ticket http://trac.elgg.org/ticket/2123 on 40321784-04-01 by cash, assigned to brettp.

Elgg version: 1.7

To reproduce:

  • Install Elgg 1.5
  • Create a user with username: miśka
  • Upload profile photo
  • Upgrade to Elgg 1.7

Now 2 problems - the username was not converted so that it now doesn't show up properly with the utf-8 connection. It is now miśka

Second problem is that the upgrade script did not move the user's directory to the new format.

@elgg-gitbot
Copy link
Author

brettp wrote on 40321953-10-26

Converting the login name is easy--We'll just add the username field to the list of fields to convert.

The second problem will require a bit more investigation.

@elgg-gitbot
Copy link
Author

cash wrote on 40321964-08-28

My guess is because we are connecting to the database with utf-8 on, the username we are getting is not the username that was used to create the directory. And the conversion of the username will occur after the data directory script runs.

@elgg-gitbot
Copy link
Author

brettp wrote on 40462589-03-14

(In [svn:6507]) Fixes #2123: Special encoding and data migration for utf8 usernames when upgrading from < 1.7.
Version bumpbed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant