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

Bug: spaces allowed in email and useridentifier in authenticateduser table #2945

Closed
pdurbin opened this issue Feb 10, 2016 · 2 comments
Closed

Comments

@pdurbin
Copy link
Member

pdurbin commented Feb 10, 2016

I'm on f37fdbd working on authenticateduser-related code creating users from https://randomuser.me and just noticed that spaces are allowed in email and useridentifier in the authenticateduser table despite Bean Validation. I can only assume this is a bug

$ psql -c 'select firstname,lastname,email,useridentifier from authenticateduser where id=52;' dataverse_db
 firstname | lastname |           email            | useridentifier 
-----------+----------+----------------------------+----------------
 Elisah    | Da mota  | elisah.da mota@example.com | elisah.da mota
(1 row)

We should also doublecheck email and username on the builtinuser table but I suspect username is fine.

@kcondon
Copy link
Contributor

kcondon commented Apr 19, 2016

retest with leading and trailing spaces, we should check this anyway.

@kcondon
Copy link
Contributor

kcondon commented Apr 19, 2016

Closing this as duplicate of #3044

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

No branches or pull requests

3 participants