Webdevs of HN: how many of you make a point of allowing sub-addressing?
* https://en.wikipedia.org/wiki/Email_address#Sub-addressing
Webdevs of HN: how many of you make a point of allowing sub-addressing?
* https://en.wikipedia.org/wiki/Email_address#Sub-addressing
Per another comment, all one would need for it to not work is have a regex of [a-zA-Z0-9]@[a-z.]+, or using POSIX-compat, [:alnum:].
* https://en.wikipedia.org/wiki/Regular_expression#Character_c...
Only a small minority of my email addresses I've ever had matches that pattern.
The example is illustrative, and not definitive, as to how the simple and innocuous decision about a regex can determine functionality, and it is not about someone going "out of your way to make that not work" to break things.
And you can unintentionally cause sub-addressing to not work without having "to go out of your way to make that not work" like the GGGP wrote.
David.Calhoun@boeing.com
would be completely normal.
Yet the above regex would not match it. Whoops.
Likewise,
can_you_believe_it@hotmail.com
which is also completely normal and typical, would fail the regex as well.
But I guess if the only kind of customers you want are the
fred@hotstartup.com
and
jane@some-vc.com
people then sure, this otherwise wholly inadequate regex would serve you well.
This was all because people were doing abuse more easily by churning lots of accounts while only needing 1 gmail address. Plugging this gap was a huge deal for us in reducing card testing problems.
At the end of the day, nothing will thwart a determined person. But that’s not the goal. If it deters the vast majority of your users from making duplicate accounts, then it’s still a success.
Perfect is the enemy of good, after all.
Is that limited by domain? gmail's dot handling isn't at all standard; e.g. john.doe@outlook.com and johndoe@outlook.com are different accounts, as are john.doe@icloud.com and johndoe@icloud.com.
Not allowing a '+' to appear in the local part is not even that unreasonable. It's against the standard, but then "My email is this@example.com"@example.com is valid according to the standard so take the standard with a grain of salt.
Because lots of folks fat finger their own e-mail addresses and then complain that a 'site sucks' because signing up doesn't work. Sanity checking to protect people against themselves may be treated as a form of UX: it's probably why some forms insist you type (not copy-paste) your e-mail twice.
Though if possible I'd err on the side of being too permissive rather than too restrictive. In the end the only true way to validate an address is to send it an email.
This is the standard.
“Taking it with a grain of salt” results in broken websites and servers that reject valid mail addresses.
The generated addresses are all completely distinct, and can be revoked.
They look like for example:
happy.wombat-0a@icloud.com
dingus-capybara.0e@icloud.com
Like grandparent said: by having a catch-all email address on a domain. Then emails that are being sent to invalid email accounts on that domain end up in that mailbox.
Another commenter in the thread presented how their company "normalizes" gmail addresses by removing "." character and "+..." suffixes, so users don't abuse their system by creating multiple accounts with what is basically the same email. Having a catch-all mailbox allows people to circumvent this "security" measure.
I'm imagining that you actually want to have separate emails pointing to separate mailboxes, and for that case indeed, your solution is better, but for the life of me I can't imagine why anyone would prefer having to check multiple emails, instead of a single one. :D
I also use random name aliases on each signup. Even if you aggregate multiple breaches I doubt anybody would link it to an individual (me).
The big remaining issue is payments. I use multiple cards and rotate them regularly (I don't have access to privacy.com or similar where I am based).
I believe this is the future - feed each service you signup to a new set of information and keep track in a password managers. Most services don't care what your real name is (I've been using an alias on services like Uber for ~10+ years).
icloud is also a good option - but I don't want to signal being an iCloud user.
In my experience, most but not all sites will accept "+" email addresses.