• ooterness@lemmy.world
    link
    fedilink
    English
    arrow-up
    175
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Jokes aside, I have been blocked many times by overzealous email validation. Yes, my email has a plus sign in it. This is allowed under RFC5322, so deal with it. It is better to have no validation at all than incorrect validation.

    • gegil@sopuli.xyz
      link
      fedilink
      arrow-up
      70
      ·
      2 months ago

      The best email validation is just sending an email to whatever provided by the user. If user receives an email and validates it, than its validated.

      • kunaltyagi@programming.dev
        link
        fedilink
        arrow-up
        14
        ·
        2 months ago

        Email address spec is convoluted and this is indeed the best way. Noobs and ninja do it this way, normies try to validate before sending email

      • bestboyfriendintheworld@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        2 months ago

        Email validation for a form should at most look for

        • at least one character
        • followed by @
        • followed by at least one character
        • followed by .
        • followed by at least two characters

        Sending an email can take a few minutes. Form validation is instant.

        • JohnEdwa@sopuli.xyz
          link
          fedilink
          arrow-up
          4
          ·
          2 months ago

          Which would still not be perfect because “foo@bar”, “foo@[123.123.123.123]” and “💩 @[IPv6 :::1]” are all technically valid email addresses.

          It looks like the only validation that doesn’t block something valid pretty much would start and end at “It has at least one @ symbol, and something on both sides”.

    • douglasg14b@lemmy.world
      link
      fedilink
      arrow-up
      30
      ·
      2 months ago

      Even worse is when they strip the plus sign out after the fact and then you can’t log in anymore because you didn’t realize that’s what has happened.

      • filcuk@lemmy.zip
        link
        fedilink
        arrow-up
        13
        ·
        2 months ago

        This is criminal. You already send me a validation email, just check for an @ and leave me be

      • dogs0n@sh.itjust.works
        link
        fedilink
        arrow-up
        11
        ·
        2 months ago

        Yees this has happened to me before but with passwords. They have some length limit that they clamp to so you can’t login after registering and I have to do a password reset right after signing up. Happened multiple times to me.

    • kossa@feddit.org
      link
      fedilink
      arrow-up
      14
      ·
      2 months ago

      That was my best customer support interaction ever. Company did not let me register with a “new” TLD email address, as “this is not a valid email address”. I wrote them from that email address. They respondend to that email address with “this is not a valid address”. I wrote back “how are we writing, then?” and never heard back 😂

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      2 months ago

      Same although for a totally different reason. There are some services that really don’t like gtlds and they will say your address is invalid if it doesn’t end in .com, .net, or .org…all my serious domains are gtld…so some services have emails on meme domains because the only domains I have with traditional tlds are memes

    • traxex@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      ·
      2 months ago

      Not sure if you also do aliases as well but I’ve seen an increase in websites flagging providers like addy.io as well. Extremely annoying that so many websites think they are so important that they refuse an alias.

      • borari@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        10
        ·
        2 months ago

        I had a site refuse my email address for my .net domain. Like wtf, if it’s not .com it’s not a real email address? Idk what that was about.

  • dohpaz42@lemmy.world
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    edit-2
    2 months ago

    The issue this is referring to is because the user cannot paste into a text field. And the user was not rude about it either.

    So instead of fixing the actual problem, the developer went nuclear and removed the validation. A dick move in my opinion given the developer’s attitude.

    ~It’s more sad than funny. 🤷‍♂️~

    • theit8514@lemmy.world
      link
      fedilink
      arrow-up
      19
      arrow-down
      1
      ·
      2 months ago

      IMO as a developer this is a sane change. There’s no telling when the format of the first-party api key will change. They may switch from reference tokens to JWT tokens tomorrow. The validation should be using the token and seeing if it works.

      • Dupelet@piefed.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 months ago

        If they had made the change for that reason, sure. But the actual stated cause was some pretty thing.

    • wheezy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months ago

      I don’t know what that repo does. But, chances are the dude was just fucking tired of dealing with curseforge. Total garbage scum software.

    • dogs0n@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      I’m guessing removing the validation fixed the pasting, which means it did fix the actual problem?

  • Phoenix3875@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    So the users realized their mistakes and stopped complaining……and other jokes public project maintainers tell themselves while laughing in tears

  • Wolfram@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 months ago

    Prismlauncher! I remember browsing through the changelog and spotting this, made me chuckle internally.

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    I’ve done this before. it’s funny when the users are all, “why??!” and to respond with, “because you asked for it!”