News for hackers. Stuff that matters.
Re:You can bypass YouTube ads by adding a dot after the domain by gruez on Wednesday June 10, 2020 @02:12PM (#23480252)
Tangential rant: I hate it when sites ask for your domain name (eg. for setting up hosting) and say that they want the "fully qualified domain name", but they don't actually accept the FQDN. eg. they reject "www.example.com.", but accept "www.example.com" (without the trailing dot). But the FQDN by definition includes the trailing dot. https://en.wikipedia.org/wiki/Fully_qualified_domain_name
Re:You can bypass YouTube ads by adding a dot after the domain by vinnymac on Wednesday June 10, 2020 @03:03PM (#23480798)
I never knew this bothered other folks as well. There are dozens of us!
Re:You can bypass YouTube ads by adding a dot after the domain by riedel on Wednesday June 10, 2020 @03:51PM (#23481272)
Re:You can bypass YouTube ads by adding a dot after the domain by labster on Wednesday June 10, 2020 @07:34PM (#23483424)
It must be expensive for Mozilla to pay for all these old bugs to go to college.
Re:You can bypass YouTube ads by adding a dot after the domain by StavrosK on Wednesday June 10, 2020 @05:55PM (#23482597)
I never realized this but now it thoroughly bothers me as well, so +1.
Re:You can bypass YouTube ads by adding a dot after the domain by Max_aaa on Wednesday June 10, 2020 @11:27PM (#23484936)
our numbers are growing.
Re:You can bypass YouTube ads by adding a dot after the domain by sedatk on Wednesday June 10, 2020 @08:34PM (#23483884)
Dozens!
Re:You can bypass YouTube ads by adding a dot after the domain by cheschire on Thursday June 11, 2020 @12:37AM (#23485237)
I get the meme, but let’s try to leave the memes on imgur please yeah? I would hate for this site to become another memetic point generator.
Re:You can bypass YouTube ads by adding a dot after the domain by amatecha on Wednesday June 10, 2020 @05:51PM (#23482565)
Reminds me of sites not accepting "+" in an email address, even though it's a completely valid character to use before the "@".
Re:You can bypass YouTube ads by adding a dot after the domain by u801e on Wednesday June 10, 2020 @06:11PM (#23482772)
Some websites accept them when creating an account, but not when trying to log in with that account.
Re:You can bypass YouTube ads by adding a dot after the domain by firethief on Wednesday June 10, 2020 @08:46PM (#23483988)
I encounter that a lot with passwords. Amazing how many websites break in weird ways when your password manager throws in random symbols...
Re:You can bypass YouTube ads by adding a dot after the domain by wyattpeak on Wednesday June 10, 2020 @10:30PM (#23484656)
This happens with AWS, which I find just incredible. It'll silently accept a password when changing, but fail when you try to log in.

I think in that case it might a matter of length, rather than symbols, but I've never put in the effort to pin down the problem exactly, now that my password manager settings work.

Re:You can bypass YouTube ads by adding a dot after the domain by jjoonathan on Wednesday June 10, 2020 @11:48PM (#23485032)
That sounds pretty typical of AWS though.

Like, I caught them doing the "ask for FQDN but reject FQDNs" a couple of weeks ago in either Route53 or something immediately adjacent (i.e. where people who know better should have been involved), yesterday SageMaker stopped launching kernels because of a "known issue" (don't worry, it doesn't meet the definition of downtime though), and today I had to diagnose an unresponsive control panel by opening the console and digging up a REST error response that they didn't bother to handle in any way.

Everything about AWS is not merely broken and half-assed, but fractally so, so that even after using a service for years you are still uncovering severe caveats and awkward limitations. Password validation traps fit that pattern to a T.

Re:You can bypass YouTube ads by adding a dot after the domain by ajmurmann on Thursday June 11, 2020 @12:04AM (#23485094)
I wonder if it silently truncates long password on setup. When you then submit the full password it doesn't match.
Re:You can bypass YouTube ads by adding a dot after the domain by frickinLasers on Wednesday June 10, 2020 @09:23PM (#23484274)
Even if they have validation built in when you are signing up! How is it possible that they have taken steps to ensure passwords meet their stringent criteria, but the user still ends up unable to log in? Most recently, I've experienced this problem with two of the big three credit bureaus.
Re:You can bypass YouTube ads by adding a dot after the domain by Tagbert on Wednesday June 10, 2020 @10:36PM (#23484685)
Because they neither know nor care about security and customer service?
Re:You can bypass YouTube ads by adding a dot after the domain by gdhbcc on Friday June 12, 2020 @07:47PM (#23505124)
Not just websites, I've had windows services fail because I happened to have a "\" in the password of the service user running it
Re:You can bypass YouTube ads by adding a dot after the domain by bad_user on Wednesday June 10, 2020 @06:26PM (#23482913)
Also some of those same websites allow you to change your email address and then lock you out.
Re:You can bypass YouTube ads by adding a dot after the domain by rlayton2 on Wednesday June 10, 2020 @06:17PM (#23482835)
Yeah, I've had this a few times trying to register accounts for my kids at [email protected]
Re:You can bypass YouTube ads by adding a dot after the domain by hattar on Wednesday June 10, 2020 @07:44PM (#23483497)
Looking at you, Alamo Drafthouse
Re:You can bypass YouTube ads by adding a dot after the domain by walrus01 on Wednesday June 10, 2020 @09:14PM (#23484224)
I have an address that is [email protected] and am unable to use it on a number of ecommerce sites, because they're doing some sort of validation to filter out people who are too clueless to know what an email address is. Or something. There's no + or other special characters in it, or xn-- international domain name.
Re:You can bypass YouTube ads by adding a dot after the domain by JoshGlazebrook on Wednesday June 10, 2020 @09:57PM (#23484491)
Yikes. I've got my own [email protected] but I've never ran into an instance where I wasn't able to use it.

I do now have a hyphen in my last name which is not accepted everywhere. Some companies accept the hyphen but replace it with a space (some credit cards), some reject the hyphen so I either make it all one word or add my own space.

Re:You can bypass YouTube ads by adding a dot after the domain by walrus01 on Wednesday June 10, 2020 @10:43PM (#23484731)
I wonder if yours is more successful because the domain is firstlast.com , not just lastname.com. I've run into it most often with checkout systems that have separate fields for first and last name, it appears that some systems are matching for the field for last name cannot be exactly the same as the part of the email address after the @ symbol.
Re:You can bypass YouTube ads by adding a dot after the domain by saghm on Thursday June 11, 2020 @12:36AM (#23485230)
> I've run into it most often with checkout systems that have separate fields for first and last name, it appears that some systems are matching for the field for last name cannot be exactly the same as the part of the email address after the @ symbol

That's incredibly obtuse of them; what possible reason could they have for doing that?

Re:You can bypass YouTube ads by adding a dot after the domain by walrus01 on Thursday June 11, 2020 @01:48AM (#23485564)
My best guess is an overly cautious UX guard rail for elderly people, persons very new to the internet, or people who think they can type their twitter username, facebook account name, or some other non properly formatted email address into the "Email:" field and get things delivered.
Re:You can bypass YouTube ads by adding a dot after the domain by KingMachiavelli on Thursday June 11, 2020 @12:34AM (#23485222)
What category of site do you observe this issue on? My curiosity suggests that there may be a huge UX problem for extreamly popular sites; banks, government services, etc., where a large percentage of their usage base absolutely will entery 100% incorrect information unless extrenous safe guards are in place.

Essentialy, if your site targeted every age demographic or even had a preference for older and/or less tech savy demographics, how can you prioritize the edge case that <0.00001% of your users has their own lastname.tld vs is entering an incorrect email address.

Re:You can bypass YouTube ads by adding a dot after the domain by walrus01 on Thursday June 11, 2020 @01:46AM (#23485551)
It's spread out across a wide range of things. No specific market segment comes to mind. Personally I encountered it with enough things, often enough that it became a point of frustration, and I started using a gmail address for most 'ordinary' online purchases, which is an inbox set to auto-forward-everything to the firstname@lastname address.

I agree that it's a huge UX problem - one of the reasons why a lot of online checkout processes have you type your email address in two separate fields, twice. Without some guardrails in place, there is probably a not insignificant number of people who typo their email address in a single field, or type a malformed address, and then complain to customer service or their credit card company when they never receive an emailed invoice.

Re:You can bypass YouTube ads by adding a dot after the domain by KingMachiavelli on Thursday June 11, 2020 @01:56AM (#23485601)
Interesting. Of course I'd speculate that some service like AnonAddy [1] or just having a secondary, anonymous, domain would be a better solution. Or even the most simplest is using a [email protected] email as I would expect them to at least check both parts.

Worse case scenario, you could use [email protected]. Even something like 1.lastname.com would likely work.

I suppose it depends on your reasons for using your own domain in the first place but having to employ the use of a gmail acount negates a lot of the privacy & security of a personal domain IMO.

[1] https://anonaddy.com/

Re:You can bypass YouTube ads by adding a dot after the domain by teekert on Thursday June 11, 2020 @04:03AM (#23486304)
Yeah, try signing up fro steam with your protonmail.ch address... I have a personal .nl one, also caused me some grief in the past, it is the reason I still have my gmail address, because it always works.
Re:You can bypass YouTube ads by adding a dot after the domain by mike_d on Wednesday June 10, 2020 @06:16PM (#23482827)
In 100% of cases, this is either because someone copied a bad regexp, or they made an explicit decision to not allow local-part wildcarding.

I have in the past normalized email addresses per the rules I know specific providers have to help people login. Did I sign up with mike+hn@ or mike+hackernews@?

Re:You can bypass YouTube ads by adding a dot after the domain by Whitestrake on Wednesday June 10, 2020 @08:38PM (#23483918)
I sign up with your website @ my website.

For example: [email protected].

Nobody blocks dots in email addresses, although I have had some sites in the past email me using the first part of my email address as my name; it's amusing to open an email from example.com saying "Hi, example.com!"

Re:You can bypass YouTube ads by adding a dot after the domain by _0ffh on Thursday June 11, 2020 @03:04AM (#23485957)
Funny, that's exactly how I do it! One of the reasons is, I know who lost/leaked/sold my data when the spam starts coming in. (Of course today we also have haveibeenpwned.)
Re:You can bypass YouTube ads by adding a dot after the domain by moonchild on Wednesday June 10, 2020 @06:54PM (#23483143)
Store email and username (if applicable) in password manager alongside the password.
Re:You can bypass YouTube ads by adding a dot after the domain by Zobat on Thursday June 11, 2020 @01:55AM (#23485590)
The discussion about valid email addresses reminded me of this article:

https://haacked.com/archive/2007/08/21/i-knew-how-to-validat...

For any programmer that's ever tried to validate email addresses it's an eye opener.

Re:You can bypass YouTube ads by adding a dot after the domain by throwaway9d0291 on Thursday June 11, 2020 @05:24AM (#23486816)
Fastmail has a feature it calls "subdomain addressing" [0], where instead of "[email protected]", you use "[email protected]", which is much better supported.

Other hosts (e.g. Mailbox.org, the host I'm with now) can support the feature as well, with some configuration.

[0]: https://www.fastmail.com/help/receive/addressing.html

Re:You can bypass YouTube ads by adding a dot after the domain by Avamander on Wednesday June 10, 2020 @07:27PM (#23483387)
That's not the worst, most websites totally reject any form fields not US-ASCII, very anglo-centric and annoying.
Re:You can bypass YouTube ads by adding a dot after the domain by rntksi on Thursday June 11, 2020 @08:56PM (#23494878)
I have a 4 letter tld to my domain name for my email address. The two times that I had to chase up someone to let me create an account was absolutely bonkers. And it only happened with two systems that were crucial: my bank, and my company's payment system.
Re:You can bypass YouTube ads by adding a dot after the domain by surround on Wednesday June 10, 2020 @04:48PM (#23481923)
> Once it was decided that domain names should be arranged hierarchically, it became necessary to decide what sits at the root of that hierarchy. That root is traditionally signified with a single ‘.’. In fact, ending all of your domain names with a ‘.’ is semantically correct, and will absolutely work in your web browser: google.com.

- The History of the URL, https://blog.cloudflare.com/the-history-of-the-url/

Re:You can bypass YouTube ads by adding a dot after the domain by jackcosgrove on Wednesday June 10, 2020 @05:24PM (#23482316)
But apparently won't work with the HN hyperlink regex.
Re:You can bypass YouTube ads by adding a dot after the domain by StavrosK on Wednesday June 10, 2020 @06:05PM (#23482704)
Imagine how much easier ending sentences with hyperlinks would be.
Re:You can bypass YouTube ads by adding a dot after the domain by surround on Wednesday June 10, 2020 @09:15PM (#23484232)
The link must begin with http(s)://

https://google.com.

(Notice how the “.” isn’t included in the hyperlink)

Re:You can bypass YouTube ads by adding a dot after the domain by mr_toad on Wednesday June 10, 2020 @09:43PM (#23484407)
Testing two dots:

https://www.example.com..

Re:You can bypass YouTube ads by adding a dot after the domain by code4tee on Wednesday June 10, 2020 @02:48PM (#23480645)
Yes, it’s silly. See it all the time. Insist on FQDN and then aparently don’t understand what a FQDN actually is.
Re:You can bypass YouTube ads by adding a dot after the domain by dylan604 on Wednesday June 10, 2020 @06:34PM (#23482969)
But the accepted answer on SO that I copied the code that I have no idea what it does should work, right? There's no bogus accepted answers. The community would have fixed that, so it's trust worthy for me to use as is.
Re:You can bypass YouTube ads by adding a dot after the domain by oneplane on Wednesday June 10, 2020 @03:25PM (#23481017)
It gets worse. Some think the FQDN is the domain zone. Some think it's with elements you find in an URL like the protocol or a part of a path. Humans. Ugh.
Re:You can bypass YouTube ads by adding a dot after the domain by neals on Wednesday June 10, 2020 @03:35PM (#23481112)
I've never heard of this. When / how / why would you use the trailing dot? I checked my sites and they redirect to the non-trailing version. Is that bad?
Re:You can bypass YouTube ads by adding a dot after the domain by adrianmonk on Wednesday June 10, 2020 @04:30PM (#23481711)
A trailing "." represents the root of the DNS namespace like a leading "/" represents the root of the Linux (or Unix, etc.) filesystem.

The root has children like "com", "net", "uk", etc.

There are DNS records at the root level. Try this command:

    host -t ANY .
Also, just as Linux searches PATH (in order) when you run a command, the DNS resolver searches a path when you look up a host. (Usually the resolver path is specified by directives in /etc/resolv.conf.) Just as Linux will skip this process if you specify a leading "/", the DNS resolver will skip that process if you specify a trailing ".".

It used to be pretty common to put your organization's domain in /etc/resolv.conf so that you can use the short version of a hostname. If your company is example.com and you have example.com in the DNS search path, you can type a command like "ping www", and it will do the same thing as "ping www.example.com". Most software still supports this, but it isn't used by that many people. (Some organizations don't put their domain in /etc/resolv.conf, and many users don't know they can abbreviate hostnames in this way.)

You would typically use the trailing dot if you want to be sure the DNS lookup doesn't use the search path and checks only against the root of the DNS namespace. You also use the trailing dot in some data files for DNS servers.

In many cases the trailing dot is not necessary, practically speaking, because the DNS resolver has special logic where if you give it a string that contains any dots (not just trailing), the search order is rearranged to try the root first instead of last. (In /etc/resolv.conf, this is controlled by the "ndots" option.)

So if you look up "www.example.com", it will check for the existence of "www.example.com." before it checks for "www.example.com.example.com." instead of the other way around. Which is good because only the first is likely to exist. If you look up "www", it will check for "www.example.com." before it checks for "www.", which again is a good heuristic because again the first is the one that likely exists.

Re:You can bypass YouTube ads by adding a dot after the domain by neuos on Wednesday June 10, 2020 @06:23PM (#23482884)
I just tried it with the domain rakso.at and when I enter rakso.at. there is an htst error. Shouldn't it work because it is technically the same domain?
Re:You can bypass YouTube ads by adding a dot after the domain by exikyut on Wednesday June 10, 2020 @07:38PM (#23483449)
Out of idle curiosity I tested that domain too, and it works on my end (Chromium 80.0).
Re:You can bypass YouTube ads by adding a dot after the domain by eropple on Wednesday June 10, 2020 @03:42PM (#23481184)
The trailing dot tells your resolver to not attempt to use your local list of search domains.
Re:You can bypass YouTube ads by adding a dot after the domain by zaphar on Wednesday June 10, 2020 @03:57PM (#23481342)
That is an effect. But the standard states that a fully qualified domain ends with the dot. The reason your resolver doesn't use the search domains is because the dot tells it that what you provided is the entire thing so there is no point in looking up the domain in a search list.
Re:You can bypass YouTube ads by adding a dot after the domain by eropple on Wednesday June 10, 2020 @04:35PM (#23481778)
Sure. I was responding to a post that asked:

> When / how / why would you use the trailing dot?

Re:You can bypass YouTube ads by adding a dot after the domain by wyattpeak on Wednesday June 10, 2020 @10:38PM (#23484700)
While you're certainly not wrong, the phrasing of the question suggests that the asker didn't know the history of the final dot, and was asking the way they did only because they didn't know what to ask, thinking its purpose was to provide some effect rather than being historically (and currently) the correct FQDM.
Re:You can bypass YouTube ads by adding a dot after the domain by derefr on Wednesday June 10, 2020 @09:30PM (#23484322)
It bothers me that a “fully-qualified domain name” is still relative to some implicit DNS network class. There’s no syntax for specifying whether you mean an Internet domain, or some other kind. Because of this, there’s no way to have a URL that resolves from an Internet-relative origin to, say, a Chaosnet-relative origin. Lame :(
Re:You can bypass YouTube ads by adding a dot after the domain by dolmen on Sunday June 14, 2020 @04:20PM (#23520980)
From the RFC about URLs: https://tools.ietf.org/html/rfc3986#section-3.2.2

> The presence of a host subcomponent within a URI does not imply that the scheme requires access to the given host on the Internet. In many cases, the host syntax is used only for the sake of reusing the existing registration process created and deployed for DNS, thus obtaining a globally unique name without the cost of deploying another registry. However, such use comes with its own costs: domain name ownership may change over time for reasons not anticipated by the URI producer. In other cases, the data within the host component identifies a registered name that has nothing to do with an Internet host. We use the name "host" for the ABNF rule because that is its most common purpose, not its only purpose.

So, the fact that the host part of http(s) URLs are resolved using DNS is not a limitation of the URL spec. Instead that's an implementation restriction.

Re:You can bypass YouTube ads by adding a dot after the domain by taborj on Wednesday June 10, 2020 @03:57PM (#23481337)
Heck, I still find sites that don't like "nonstandard" TLDs in your email address. Try putting an address that's not .com, .net, etc and it throws an error.
Re:You can bypass YouTube ads by adding a dot after the domain by pmiller2 on Wednesday June 10, 2020 @04:11PM (#23481498)
The sin here isn't not accepting "nonstandard" TLDs. It's that validating an email address is extremely hard to do correctly, and that you often really want to know if the person entering it has access to the address. The only way to do that is to accept pretty much anything that has an @ sign in the middle of some other characters, and then attempt to send email to that address with a clickback link.

The thing that really annoys me though isn't email address handling. It's credit card number and social security number entry fields.

For credit cards, the number of times you should have to specify which type of card you're entering is literally zero. All credit cards of the same type (e.g. Visa) begin with the same number sequence. Visa always starts with 4, so, if I type 4 as the first digit, just call it a Visa card. Do the Luhn checksum validation to make sure it's a valid number and that I probably entered it correctly, and try to run the charge. If it fails, then provide an appropriate error message.

For SSN fields, the thing that annoys me is that there are basically 2 common ways of entering the number: XXX-XX-XXXX and XXXXXXXXX. So many sites and apps only accept one of the two and will complain about the other. It's ridiculous, because the presence or absence of the dashes literally has no bearing on the validity of the number. Just let me enter it the way I want.

Re:You can bypass YouTube ads by adding a dot after the domain by encom on Wednesday June 10, 2020 @07:24PM (#23483362)
As long as we're ranting about stupid form design.

Dear everyone: Denmark does NOT have states. Literally dozens of times have I encountered a form that absolutely requires that I input something in the state field before they will ship my stuff. A sufficiently motivated individual could traverse the major landmasses of Denmark by bicycle in about a day[0], we don't need no damn states.

I usually put in "NULL" for state, and hope something breaks.

[0] https://map.krak.dk/m/oNdAL

Re:You can bypass YouTube ads by adding a dot after the domain by bigiain on Wednesday June 10, 2020 @09:06PM (#23484167)
Also, addresses in the country of Singapore do not have cities...

(Also, nowhere in the world except the US has "zip codes", and about 60 countries don't even have an equivalent postal code at all...)

Re:You can bypass YouTube ads by adding a dot after the domain by vinay427 on Thursday June 11, 2020 @01:22AM (#23485446)
> A sufficiently motivated individual could traverse the major landmasses of Denmark by bicycle in about a day[0], we don't need no damn states.

Well, that hasn't stopped similarly-sized Switzerland with 26 cantons. ;)

Re:You can bypass YouTube ads by adding a dot after the domain by pmiller2 on Thursday June 11, 2020 @05:35PM (#23493508)
But, the cantons existed before there was a Switzerland. There's a reason its official name is "Confoederatio Helvetica." ;)
Re:You can bypass YouTube ads by adding a dot after the domain by developer2 on Wednesday June 10, 2020 @06:57PM (#23483167)
Ugh, try address fields. I mildly regret having moved to my current home last year, as inputting this address into forms is an impossible task. The "correct" address according to the formatting standards of my federal postal service, including street address plus unit number, is 47 characters long. I can put the UNIT number on the 2nd address line (when available), which makes the first line (just the street address) 37 characters long. I've come across more than a dozen services (Amazon, Apple, pizza places, etc.) that have length limits on address lines of between 25 and 35 characters.

The worst are the companies who (somewhat strictly, to varying degrees) verify the address of credit cards. I've barely managed to always verify by shortening into a grotesque form of the address that logistically makes no sense, but is apparently just close enough to match whatever fuzzy formula is used (eg. Levenshtein distance).

Re:You can bypass YouTube ads by adding a dot after the domain by pmiller2 on Thursday June 11, 2020 @05:38PM (#23493532)
Sure, that all sucks, but, at least address handling is actually hard. Dealing with credit card numbers, even if you want to go beyond the basic Visa / MasterCard / Discover / American Express, isn't that hard. Neither is sanely dealing with SSNs (except that most uses of SSNs are insane by default, but that's just a matter of using it as an ID number when it shouldn't be).
Re:You can bypass YouTube ads by adding a dot after the domain by toast0 on Wednesday June 10, 2020 @09:51PM (#23484462)
FYI, Most credit card verification is just using the house number and the zip code. If there's no physical delivery, you can just put in Elm St or whatever.

https://en.m.wikipedia.org/wiki/Address_Verification_System

Re:You can bypass YouTube ads by adding a dot after the domain by jsjohnst on Wednesday June 10, 2020 @09:02PM (#23484122)
> I mildly regret having moved to my current home last year

I know what you mean for a different reason. Explaining that yes, my street name really starts with the word “Avenue” is getting really old.

Re:You can bypass YouTube ads by adding a dot after the domain by moonchild on Wednesday June 10, 2020 @06:56PM (#23483157)
I'm a fan of forms where they automatically add the dashes/spacing (for ssn and cc, respectively), so you don't have to guess if they're needed.
Re:You can bypass YouTube ads by adding a dot after the domain by velosol on Wednesday June 10, 2020 @09:07PM (#23484179)
I was a fan of that until I experienced that they don't actually test the code. I've had it break in entertaining ways, most recently getting a new monitor from Dell and trying to enter a phone number (on Firefox on Android, both current & Preview) went like this for the number 123-555-1212, typed without dashes:

Enter number, result is: 125-535-2112 .

On the plus side it was predictable and I was able to eventually enter the number something like 2153552121 and have it appear on page as 123-555-1212. When I encountered this a second time a few days later (reordering due to DOA) I discovered pasting the entire number in allowed the 'automatic' nature to add dashes correctly.

The correct answer to me is to strip out non-numbers and then verify the number is a valid phone number (which should be easier than programmatically determining names or dates).

Re:You can bypass YouTube ads by adding a dot after the domain by OJFord on Wednesday June 10, 2020 @07:13PM (#23483272)
I don't think I've been able to enter them AND they've been necessary since the '90s though.
Re:You can bypass YouTube ads by adding a dot after the domain by exprez135 on Wednesday June 10, 2020 @04:44PM (#23481875)
Yes! And it really is so easy to implement all of this validation and checking without it being too complicated. How is parsing some numbers and running a few math equations the source of so much trouble?
Re:You can bypass YouTube ads by adding a dot after the domain by pmiller2 on Wednesday June 10, 2020 @05:32PM (#23482398)
The only two explanations I can think of are ignorance and laziness. Ignorance doesn't really fly, IMO, because when you have an input field, you should be at least thinking about validating said input. From there, the simplest of google searches will lead you to the checksum algorithm.

Laziness seems most likely for that reason, but, on top of that, it's not like you even have to go to Stack Overflow to find an implementation. Wikipedia has one! Wiki. Pedia.

Just take my input, run the checksum, check that my expiration date isn't in the past and that the CVV value is the correct number of digits, and just run the charge. It's not like if I mistype my MasterCard's first digit as a 4 that it's going to work anyway. Just do the checks that are feasible, and then just run the charge.

Re:You can bypass YouTube ads by adding a dot after the domain by saghm on Thursday June 11, 2020 @12:49AM (#23485299)
> For credit cards, the number of times you should have to specify which type of card you're entering is literally zero

From what I can recall, the number of times I've had to specific what type of card I have when filling out an online form is zero, because every form I can remember using did autodetect it. I admit I'm fairly young (only have had a card for 10-12 years), but from the amount of frustration you seem to have about this, I feel like you must have run into it much more recently than that.

Re:You can bypass YouTube ads by adding a dot after the domain by efreak on Thursday June 11, 2020 @08:08AM (#23487932)
I bought my last name in the .family TLD. Most websites take it just fine, but not my insurance or my bank(?). To them, they just don't exist.
Re:You can bypass YouTube ads by adding a dot after the domain by loeg on Wednesday June 10, 2020 @04:19PM (#23481598)
If you think that's bad, you should see what those folks do to "email address" parsers.
Re:You can bypass YouTube ads by adding a dot after the domain by inopinatus on Wednesday June 10, 2020 @05:42PM (#23482490)
My pet peeve is case folding the LHS (or worse, downcasing) despite the standard defining it as case sensitive.
Re:You can bypass YouTube ads by adding a dot after the domain by Mayzie on Wednesday June 10, 2020 @07:09PM (#23483244)
Later revisions to the standard made it case insensitive as that was common practice IIRC.
Re:You can bypass YouTube ads by adding a dot after the domain by OJFord on Wednesday June 10, 2020 @07:16PM (#23483296)
That's not correct, it's up to the provider, the owner of the domain.

(I'm not going to say MAY because I can't remember the exact wording, but I did have cause to look it up recently.)

Re:You can bypass YouTube ads by adding a dot after the domain by inopinatus on Friday June 12, 2020 @03:21AM (#23496881)
They did no such thing.
Re:You can bypass YouTube ads by adding a dot after the domain by pizza on Wednesday June 10, 2020 @04:36PM (#23481782)
Interestingly, if I go to news.ycombinator.com., I get the logged out version of the site. Probably because my browser treats it as a different site entirely
Re:You can bypass YouTube ads by adding a dot after the domain by jakub_g on Wednesday June 10, 2020 @04:43PM (#23481858)
It's technically a different domain. HN cookie is created for a domain without dot at the end, so there's no match when you open a domain with the dot.

In the same way, if a website does not do www->nowww / nowww->www redirect (example.com / www.example.com), you might have www version be logged in and nowww version be logged out or vice versa (depending how exactly it creates its cookies).

Re:You can bypass YouTube ads by adding a dot after the domain by fomine3 on Wednesday June 10, 2020 @09:12PM (#23484203)
The FQDN syntax is what we learn from editing DNS records.