Live data from Hacker News

I failed to make LinkedIn fix their broken international domain URL parser

helmstedt.dk

31–40 of 94 posts

Re: I failed to make LinkedIn fix their broken international domain URL parser

#31
post #8

This is the problem I had in mind when building https://chota.link . I have seen too many broken previews. This little app lets you create short link and specify metatags. Try this short link on LinkedIn: https://chota.link/jVZ2Hd . I tested it and seems to be working.

Any reason on the name? Chota is a despective way to say "Penis" in South America.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#32

"punycode" does seem to break a few things in userland, but obviously should exist for the web to be more useable in more languages. I've delved into the subject a bit and as someone else has mentioned, "homograph attacks" are a thing. Looking deeper, it seems each TLD has a set of dictionaries and rules for what is an acceptable combination of characters, and what isn't (to avoid homograph attacks)- and as I underst…

Am I misunderstanding or are you looking for Unicode normalization? http://site.icu-project.org/design/normalization/custom

I maintained a domain database and normalised to ASCII with libidn, sometimes the input data was not from zone files and preferably would've been able to double check the characters used in a potential domain to ensure it's something that's registerable, without any network required. That was my motivation for looking into the topic originally.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#33
post #18

Earlier quoted context omitted.

I'd have to assume "supporting Danish credit cards" is lower on their list of revenue-impacting issues than you expect. If Denmark were a US state, it wouldn't even be in the top 20 in terms of population. If you assume that Denmark has lower usage of Tinder than US, CA, or UK, and then you assume that not all Danish people are paying with Danish credit cards (many of them would be using Play Store subscriptions, whi…

The question is what the cost of that fix would be. Once the ticket reaches the developer it's probably quickly done and pays for itself with a handful registrations. However getting from support to a developer is the complex part. (Support has to understand the issue and then it has to be routed to the correct team ...)

I completely understand why you see this as a 30-min fix, and therefore they should just knock it out.

That's not how they would likely see it. If their devs are 100% utilized (which I'm sure they are), then fixing any issue -- even a 30-min one -- is going to mean that a different issue is delayed.

The question becomes this: at what point is fixing this issue more valuable to the company than any other issue the same dev could work on?

And the answer is possibly "never", depending on what high-impact bugs, features, or technical debt they have on their priority list.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#34
post #31
post #8

This is the problem I had in mind when building https://chota.link . I have seen too many broken previews. This little app lets you create short link and specify metatags. Try this short link on LinkedIn: https://chota.link/jVZ2Hd . I tested it and seems to be working.

Any reason on the name? Chota is a despective way to say "Penis" in South America.

Interesting, in (southern?) Brazil it refers to the female genital.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#35

Working with internationalized URLs (IRIs) is a Cursed Problem. Here is the IRI for the Wikipedia page on semiconductors. When you click on it, it should show you a page with a picture of a silicon wafer on the left. https://ar.wikipedia.org/wiki/شبه_موصل Now try copy/pasting that link text into different web apps and see how they respond. HN seems to handle it correctly. Twitter doesn’t, it considers شبه_موصل to be…

That's really a problem of picking up a url/uri/iri in text without delimeters. You see the same thing when there's 'uncommon' ascii characters in urls, like a trailing period, or commas or exclamation points. The proper thing to do is to enclose links in , as was done in well-formed email, but that wasn't super consistent either, and it hasn't transitioned to the world conciousness.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#36
post #11

Earlier quoted context omitted.

That's not my experience. Going to https://xn--coronaprver-ngb.dk/ in Firefox presents the invalid certificate, but going to http://xn--coronaprver-ngb.dk/ redirects me to https://www.coronaprover.dk/ . It seems Brave always tries with https, and thus it fails. Not that it is confused by IDN.

The link provided was https:// so it would be a serious security issue if it downgraded to http. It is the website that is broken (or at least does not support that link).

I used coronaprøver.dk to illustrate the point. The more authoritative URL is coronaprover.dk and coronaprøver.dk is registered to prevent domain squatting/phishing attempts. Although they probably should have made a solution without certificate errors.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#37
post #18

I'm not surprised the author can't convince LinkedIn to change anything. Had a similar experience with Tinder where Paying in their web application using a danish credit card failed because their cc service returned "visadankort", which had to be changed to "visa" through the developer console for the payment to go through. Got tired of that and filed a bug. Oh the battle it took to actually convince them that an ent…

I'd have to assume "supporting Danish credit cards" is lower on their list of revenue-impacting issues than you expect. If Denmark were a US state, it wouldn't even be in the top 20 in terms of population. If you assume that Denmark has lower usage of Tinder than US, CA, or UK, and then you assume that not all Danish people are paying with Danish credit cards (many of them would be using Play Store subscriptions, whi…

It's not "coldly rational" if your fix is simple enough that can be fixed on the browser console and charging CCs directly avoid the 30% fee of the store (though Tinder does seem to tack that to the app store price)

Re: I failed to make LinkedIn fix their broken international domain URL parser

#38
post #33

Earlier quoted context omitted.

The question is what the cost of that fix would be. Once the ticket reaches the developer it's probably quickly done and pays for itself with a handful registrations. However getting from support to a developer is the complex part. (Support has to understand the issue and then it has to be routed to the correct team ...)

I completely understand why you see this as a 30-min fix, and therefore they should just knock it out. That's not how they would likely see it. If their devs are 100% utilized (which I'm sure they are), then fixing any issue -- even a 30-min one -- is going to mean that a different issue is delayed. The question becomes this: at what point is fixing this issue more valuable to the company than any other issue the sam…

You rationalize dysfunction into a strategy.

It's not like they are doing Moon landing there 24/7. It's a simple bug with direct impact on the revenue. They should take a half hour break and fix it.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#39
post #22

At some point Linkedin changed their site from something that at least worked to some javascript that i can actually watch loading and assembling the page because it's so slow. And you expect ... support for internationalized domain names?

When this happens is it literally just companies trying to save money so they only need to hire JS developers?

Or are static sites not webscale anymore? The web framework I use for my personal stuff just takes templates in and fills it with whatever a request requires, and it's definitely easier than dealing with JS wat-isms.

Re: I failed to make LinkedIn fix their broken international domain URL parser

#40
post #18

I'm not surprised the author can't convince LinkedIn to change anything. Had a similar experience with Tinder where Paying in their web application using a danish credit card failed because their cc service returned "visadankort", which had to be changed to "visa" through the developer console for the payment to go through. Got tired of that and filed a bug. Oh the battle it took to actually convince them that an ent…

I'd have to assume "supporting Danish credit cards" is lower on their list of revenue-impacting issues than you expect. If Denmark were a US state, it wouldn't even be in the top 20 in terms of population. If you assume that Denmark has lower usage of Tinder than US, CA, or UK, and then you assume that not all Danish people are paying with Danish credit cards (many of them would be using Play Store subscriptions, whi…

lower on their list of revenue-impacting issues

Some companies do what's right. Some only prioritize based on revenue maximization.

Locking out an entire country is clearly wrong. Only prioritizing for revenue maximization is only ambiguously right.

It's not like fixing a bug is going to bankrupt Tinder.

Post reply on HN