Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sonni Tost 20 posts 72 karma points
    Feb 19, 2016 @ 09:23
    Sonni Tost
    0

    Member validation - single character domain fails

    Hi all,

    I have a problem regarding creation of members in Umbraco 7.3.4. When i try to create a user with an e-mail with a single letter domain it fails.

    For example this e-mail will fail: xxx.yyy@z.dk

    How and where can i change the validation so it accepts the pattern above?

    I have screen dump of the issue here: http://test.pajor.dk/umbraco/umbracoValidationError.jpg

    Kind regards

    Sonni T.

  • Jan Skovgaard 11242 posts 23390 karma points MVP 6x admin c-trib
    Feb 19, 2016 @ 16:30
    Jan Skovgaard
    0

    Hi Sonni

    I tried searching the term "invalid email" in the source code for Umbraco - I suspect it's this directive that is handling the validation when creating memembers too https://github.com/umbraco/Umbraco-CMS/blob/2aa5dfb3ec50f4ddbd23c1fef24d00a6281b3fe9/src/Umbraco.Web.UI.Client/src/common/directives/components/validation/valemail.directive.js

    However it seems that the regex used should allow for a single domain letter when testing the expression at https://regex101.com/

    This is just the file I suspect handles it - But the search gave me 58 results so I could be missing something - But this seems to be the most exact one.

    Have you checked the /App_Data/Logs file to see if it contains any useful information regarding the issue?

    /Jan

  • Sean 4 posts 74 karma points
    Jul 15, 2019 @ 17:41
    Sean
    0

    Hi @Jan, Is there any traction on this issue? I'm experiencing the exact same problem. Users cannot sign up to be members with a single character domain name, however, it is possible for existing members to UPDATE their email address to contain a single character domain name.

    Any advice on how we can allow this for both creating and updating membership emails? Thanks

Please Sign in or register to post replies

Write your reply to:

Draft