-
Notifications
You must be signed in to change notification settings - Fork 4
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
User names containing special characters are not allowed to use the system #35
Comments
Thanks for the input. Unfortunately we cannot simply allow various characters like hyphen without introducing potential bugs or security issues at the moment. We'll have to wait for the on-going User ID restructuring in milestone 3 to settle first. |
You also need to support full characters for iceland and faro island. |
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6016 b75ad72c-e7d7-11dd-a971-7dbc132099af
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6016 b75ad72c-e7d7-11dd-a971-7dbc132099af
We already supported these common accented chars |
Yes but that list you just gave does not contain all characters that are in the icelandic and faroese character set. You need them all. A customer has characters that are not included in the list you gave. |
Please have a look at my commit earlier today e.g. in |
Signup with new included characters does not work, here are som errors when trying to sign-up: Retrying again a second time: Trying on experimental verision: c7d5528 |
Right, thanks for testing. The 2nd one looks like a broken request as |
The last retry picture looks excatly the error you get when you first login as an non existing user on the system, then afterwards push sign-up, you will get a similar error. The problem described in issue 3 |
okay, but as I also commented on that issue it looks like a broken request once it reaches apache. In any case I've changed the sub validation to allow both ascii string and email format again, so hopefully the sign up should now succeed. Please let me know when you have had time to test it. |
For the record the fix for the |
1ea553b has been tested now, and its working with special characters. |
Great, thanks! We'll keep this issue open for now in order to not forget the original apostrophe problem. One detail I noticed in relation to the most recent WAYF-integration was that we actually pre-filter the full name field when users sign up with similar external OpenID 2.0 ID providers through |
I think it could be used as a workaround for sometime. But there are several special chacters that could be problematic, because it could result in two people becomming the same user account? If the account is always unique, no matter the special characters in the name, then it could be used, but what about when its fixed, then there need to be a way to update all the users with missing characters. I will have to ask if this can be accepted as a real workaround. |
You still have e.g. email as part of the user ID, too, and another user signing up with same email will always be rejected. So dropping chars in full name is sub-optimal because it's a one-way operation, but at least doesn't add collisions. I've talked to a colleague about adding a proper translation instead of just dropping unsupported chars. We'll look at that as a better solution and consider exposing it as the 3rd configuration option. In practice e.g. translating |
We've reworked the handling of unsupported characters in sign up to be consistent for all auth types and exposed the option to either skip or hex-encode any such characters. Feel free to test in the meantime with the new |
We have a user with the name O'Dwyer and because of apostrophe sign (0x27 in iso8859-1), then the user cannot login. This is because migrid does not allow apostrophe in names.
We need real user names to be in the system so that regular users and administrators know who the person is, both when it comes to authentication and security.
We can agree that persons should not be allowed to choose anything, but name the comes from CPR in Denmark are legal names, and should all be supported. More info here on legal chacters in CPR.
The text was updated successfully, but these errors were encountered: