this post was submitted on 15 Dec 2023
7 points (100.0% liked)

Mildly Infuriating

35339 readers
611 users here now

Home to all things "Mildly Infuriating" Not infuriating, not enraging. Mildly Infuriating. All posts should reflect that.

I want my day mildly ruined, not completely ruined. Please remember to refrain from reposting old content. If you post a post from reddit it is good practice to include a link and credit the OP. I'm not about stealing content!

It's just good to get something in this website for casual viewing whilst refreshing original content is added overtime.


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means: -No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...


7. Content should match the theme of this community.


-Content should be Mildly infuriating.

-At this time we permit content that is infuriating until an infuriating community is made available.

...


8. Reposting of Reddit content is permitted, try to credit the OC.


-Please consider crediting the OC when reposting content. A name of the user or a link to the original post is sufficient.

...

...


Also check out:

Partnered Communities:

1.Lemmy Review

2.Lemmy Be Wholesome

3.Lemmy Shitpost

4.No Stupid Questions

5.You Should Know

6.Credible Defense


Reach out to LillianVS for inclusion on the sidebar.

All communities included on the sidebar are to be made in compliance with the instance rules.

founded 1 year ago
MODERATORS
 

I also reached out to them on Twitter but they directed me to this form. I followed up with them on Twitter with what happened in this screenshot but they are now ignoring me.

top 44 comments
sorted by: hot top controversial new old
[–] JackbyDev@programming.dev 2 points 10 months ago (1 children)

Somebody made a shitty regex.

[–] jwt@programming.dev 1 points 10 months ago (2 children)

Probably, from what I can see the address in question isn't really that exotic. but an email regex that validates 100% correctly is near impossible. And then you still don't know if the email address actually exists.

I'd just take the user at their word and send an email with an activation link to the address that was supplied. If the address is invalid, the mail won't get delivered. No harm done.

[–] FreeFacts@lemmy.world 1 points 10 months ago* (last edited 10 months ago) (1 children)

Email standard sucks anyway. By the official standard, User@email.com and user@email.com should be treated as separate users...

[–] rottingleaf@lemmy.zip 1 points 10 months ago

Personally I don't think that sucks or is even wrong. Case-independent text processing is more cumbersome. 'U' and 'u' are two different symbols. And you have to make such rules for every language a part of your processing logic.

If people can take case-dependence for passwords (or official letters and their school papers), then it's also fine for email addresses.

The actual problem is cultural, coming from DOS and Windows where many things are case-independent. It's an acquired taste.

[–] echodot@feddit.uk 0 points 10 months ago (1 children)

The best of validation is just to confirm that the email contains a @ and a . and if it does send it an email with a confirmation link.

[–] __dev@lemmy.world 1 points 10 months ago (1 children)

TLDs are valid in emails, as are IP V6 addresses, so checking for a . is technically not correct. For example a@b and a@[IPv6:2001:db8::1] are both valid email addresses.

[–] willis936@lemmy.world 1 points 10 months ago

Jeez and I feel like I'm tempting fate just by using a custom domain.

[–] Ratulf@feddit.de 1 points 10 months ago* (last edited 10 months ago)

If that's their standard, you can probably just edit the html to make the login button active and then sign-in.

[–] DmMacniel@feddit.de 1 points 10 months ago (3 children)

When you insist on implementing your own email address validation...

[–] DeltaTangoLima@reddrefuge.com 3 points 10 months ago (3 children)

I have my own domain that uses a specific 2-letter ccTLD - it's a short domain variation of my surname (think "goo.gl" for Google). I've been using it for years, for my email.

Over those years, I have discovered an astonishing number of fuckheaded organisations whose systems insist I should have an email address with a "traditional" TLD at the end.

[–] stickmanmeyhem@lemmy.world 1 points 10 months ago (1 children)

A few years back I bought a .family domain for my wife and I to have emails at ourlastname.family That lasted a week because almost every online service wouldn’t accept it. Now we have a .org

[–] CosmicTurtle@lemmy.world 1 points 10 months ago (1 children)

Doesn't surprise me one bit. I've noticed that a lot of websites will only accept .com and a few will only accept email addresses from popular providers (Gmail, Hotmail, outlook, etc.)

My guess is that it's trying to reduce spam and fake account generation.

[–] deweydecibel@lemmy.world 3 points 10 months ago

My guess is that it's trying to reduce spam and fake account generation.

Thus preventing the growth of any small providers and further entrenching Microsoft, Google, Apple, and a handful of others as the only "viable" options.

[–] lunarul@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

My first email address was @k.ro (a free email provider many many years ago) and many websites thought a valid second-level domain name cannot be just one letter

[–] PM_Your_Nudes_Please@lemmy.world 1 points 10 months ago

Same. There are a lot of sites that just outright refuse to accept my email address that I’ve had for years, because it’s not a .com TLD.

[–] aard@kyu.de 1 points 10 months ago (1 children)

I'm not aware of any correct email validations. I'm still looking for something accepting a space in the localpart.

Also a surprising number of sites mess with the casing of the localpart. Don't do that - many mailservers do accept arbitrary case, but not all. MyName@example.com and myname@example.com are two different mail addresses, which may point to the same mailbox if you are lucky.

[–] CosmicTurtle@lemmy.world 0 points 10 months ago (1 children)

The only correct regex for email is: .+@.+

So long as the address has a local part, the at sign, and a hostname, it's a valid email address.

Whether it goes somewhere is the tricky part.

[–] xantoxis@lemmy.world 0 points 10 months ago* (last edited 10 months ago) (1 children)

Sorry, this is not a correct regex for an email address.

Sending using mail on a local unix system? You only need the local part.

STOP VALIDATING NAMES AND EMAIL ADDRESSES. Send a verification email. Full stop. Don't do anything else. You really want to do this anyway, because it's a defense against bots.

[–] Turun@feddit.de 0 points 10 months ago

I think it's fair to prevent users from causing mail sent to your internal systems. It probably won't cause any issues getting mail to the machine inbox for (no domain name), but it reasonably makes security uneasy.

[–] cley_faye@lemmy.world 1 points 10 months ago (1 children)

The only useful email validation is "can I get an MX from that" and "does it understand what I'm saying in that SMTP". Anything else is someone that have too much free time.

[–] cashews_best_nut@lemmy.world 1 points 10 months ago (1 children)

It's easier to Google "email regex [language]" and copy the first result from stack overflow.

[–] AnAngryAlpaca@feddit.de 0 points 10 months ago

To be valid, the email just has to match [anything@anything]. ,🙃@localhost can be perfect legal if localhost supports utf8 in usernames.

[–] gravitas_deficiency@sh.itjust.works 1 points 10 months ago* (last edited 10 months ago) (1 children)

That is 100% a bot, and whoever made the bot just stuck in a custom regex to match “user@sld.tld” instead of using a standardized domain validation lib that actually handles cases like yours correctly.

Edit: the bots are redirecting you to bots are redirecting you to bots. This is not a bug. This is by design.

[–] Syndic@feddit.de 0 points 10 months ago

This is not a bug. This is by design.

I'd say it's a bug in the design as it clearly fails to work with a completely fine email.

[–] 48954246@lemmy.world 0 points 10 months ago (1 children)

The best way to validate an email address is to sent it an email validation link.

Anything outside of that is a waste of effort.

[–] _stranger_@lemmy.world 1 points 10 months ago (1 children)

That is 100% a chatbot using a regex email validator someone wrote as a meme that the chipotle dev copied from stack overflow without context.

[–] pirrrrrrrr@lemmy.dbzer0.com 0 points 10 months ago (1 children)

As the owner of a .info domain, I know this pain all too well.

[–] laurelraven@lemmy.blahaj.zone 0 points 10 months ago (1 children)

One of the reasons I've always avoided .info, nobody seems to believe it's a real domain

[–] obosob@lemmy.world 1 points 10 months ago

You should put up an informational website to let people know, at https://info.info/

[–] chitak166@lemmy.world 0 points 10 months ago (1 children)
[–] Syndic@feddit.de 1 points 10 months ago (2 children)

Nah, it's just a old school chat bot following a predefined flow chart. And in this flowchart someone implemented an improper email check.

It's pretty much the same as if there was just a website with an email field which then complains about a non valid email which in fact is very valid. And this is pretty common, the official email definition isn't even properly followed by most mail providers (long video but pretty funny and interesting if you're interested in the topic).

[–] Venat0r@lemmy.world 0 points 10 months ago (1 children)
[–] ChaoticNeutralCzech@feddit.de 0 points 10 months ago

Even “algorithm”, you could say! The text adventure game I made in BASIC when I was 14 is going to blow your mind. It is 100% artificial and uses logic (IF statements), hence AI!

[–] dan@upvote.au 0 points 10 months ago* (last edited 10 months ago) (2 children)

You can use symbols like [ ] . { } ~ = | $ in the local-part (bit before the @) of email addresses. They're all perfectly valid but a lot of email validators reject them. You can even use spaces as long as it's using quotation marks, like

"hello world"@example.com

A lot of validators try to do too much. Just strip spaces from the start and end, look for an @ and a ., and send an email to it to validate it. You don't really care if the email address looks valid; you just care whether it can actually receive email, so that's what you should be testing for.

[–] tomi000@lemmy.world 0 points 10 months ago (1 children)

Yea but most of the time its more important to block code injection than to have the last promille of valid mail adresses be accepted.

[–] ChaoticNeutralCzech@feddit.de 0 points 10 months ago

I think emailregex.com offers best of both worlds.

[–] darkpanda@lemmy.world 0 points 10 months ago

To this point, there’s a website dedicated to the subject. Some of the regexes get pretty wild…

https://emailregex.com/

[–] satans_crackpipe@lemmy.world 0 points 10 months ago (1 children)

I work for Chipotle Corporate. Please send me your email address. I'll make sure it gets fixed.

[–] sacbuntchris@lemmy.world 0 points 10 months ago (1 children)

Nice try I've heard that before

[–] Kolanaki@yiffit.net 1 points 10 months ago* (last edited 10 months ago)

There should be an '@,' followed by a domain (name@email.com).

What is your email address?

[–] soulfirethewolf@lemdro.id 0 points 10 months ago (2 children)
[–] MeatsOfRage@lemmy.world 0 points 10 months ago (1 children)

Exactly. After the @ they should just confirm there's at least one period. The rest is pretty much up in the air.

[–] 0x0@lemmy.dbzer0.com 1 points 10 months ago

Even that would be technically incorrect. I believe you could put an A record on a TLD if you wanted. In theory, my email could be me@example.

Another hole to poke in the single dot regex: I could put in fake@com. with a dot trailing after the TLD, which would satisfy "dot after @" but is not an address to my knowledge.