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

Fixed Invalid Username/EmailAddress When Containing 'onfocus' #3665

Merged
merged 2 commits into from
Apr 14, 2020
Merged

Fixed Invalid Username/EmailAddress When Containing 'onfocus' #3665

merged 2 commits into from
Apr 14, 2020

Conversation

SergeyDryomin
Copy link
Contributor

@SergeyDryomin SergeyDryomin commented Apr 7, 2020

Fixes "New user registration/creation doesn't allow for email addresses to contain "onfocus" word"
Fixes #3666

Summary

Solution to replace RegEx
fixed

Not UT's for open source

Invalid Username/Email Address When Containing "onfocus"
@david-poindexter
Copy link
Contributor

@SergeyDryomin please create a proper GitHub issue describing the bug/enhancement in detail.
Then reference the issue using the proper GitHub syntax. Then please modify the title for this PR to something that does not contain a JIRA issue number. This is confusing to the open source community because we have no visibility to JIRA issues. Thanks.

new Regex("onfocus", RxOptions),
new Regex("\bonfocus\b", RxOptions),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would seem like we'd want this change for all of the onwhatever expressions, right?

@SergeyDryomin SergeyDryomin changed the title Bugfix/DNN-33796_Invalid_Username_Email_Address_When_Containing_onfocus Fixed Invalid Username/EmailAddress When Containing 'onfocus' Apr 7, 2020
Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - thanks @SergeyDryomin 🎉

Copy link
Contributor

@mitchelsellers mitchelsellers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@valadas valadas added this to the 9.6.0 milestone Apr 14, 2020
@valadas valadas merged commit 028199e into dnnsoftware:develop Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid Username/EmailAddress When Containing 'onfocus'
6 participants