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

Changed max lenght of email address #832

Merged
merged 1 commit into from
Dec 4, 2016
Merged

Changed max lenght of email address #832

merged 1 commit into from
Dec 4, 2016

Conversation

arjove
Copy link
Contributor

@arjove arjove commented Dec 4, 2016

I would like to suggest changing the max lenght of the email field in the database.

Since its provided in this stackoverflow post that emails can at max be 254 chars long.

After checking against the local php filter in the Registratonmoddel::validateUserEmail() we do not check the length of the email before its added to the database. (which could result in a failed user creation without giving back a proper error.)

@arjove
Copy link
Contributor Author

arjove commented Dec 4, 2016

Wether or not this is the proper way to do it, you could also add a check within validateUserEmail, which would limit to 64 chars.

@panique
Copy link
Owner

panique commented Dec 4, 2016

Hi, big thanks! This project has reached End Of Life, so it's not developed anymore, but i'll will merge this anyway as it's a small and nice chance.

@panique panique merged commit 9d13873 into panique:master Dec 4, 2016
@arjove arjove deleted the patch-1 branch December 4, 2016 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants