You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cemdev opened this issue
Jul 21, 2014
· 4 comments
Assignees
Labels
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Our QA person did some edge case testing, and the current validation is super simple.
If the domain is 7 characters or less it works. 8 or more and it doesn't. Looks like a simple regex change is all that's needed. Either remove the 7 character limit, keeping the 2 character minimum, or increase 7 to whatever the longest top level domain length is, but that's likely to change, so I would choose to remove the upper character limit entirely.
I modified the regex to allow up to 15 characters in domain name but we might have to increase this soon again. Thought about this before as well but wasn't sure how accurate this method is supposed to be as it is used for validation in different places. Also not sure what the longest domain extension possibly could be. Found ".international" which was the longest so far. We could also remove the upper limit as suggested by @cemdev .
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
I am unable to register a new user in piwik if they are using one of the new domain extensions.
For example, the email: example@mysite.photography
fails with error message: "The email doesn't have a valid format" through both the API and the user interface.
The text was updated successfully, but these errors were encountered: