2 ms·
Just tried it out, Github does, in fact, let you use extra slashes. I just threw a bunch of /'s onto https://github.com/////// https://github.com/////// and it
by Jtsummers 5y ago
Just tried it out, Github does, in fact, let you use extra slashes. I just threw a bunch of /'s onto https://github.com/////// https://github.com/////// and it loaded just fine. The problem is with the JS on this particular page. When it first loads (on my slower and older laptop there was enough delay to see this) it loads the Automerge home page just fine. Then it tries to pull in contents because of that extra / and breaks. If you go to the Docusaurus home page (which is what Automerge's home page is built with) you can get similar behavior).
https://docusaurus.io/ https://docusaurus.io/
https://docusaurus.io// https://docusaurus.io//
Try the second with JS turned off as well as on, you will get the home page when it's off and a 404 when it's on.
So it seems the problem is two-fold:
1. Automerge has the wrong canonical link, which HN pulls from submissions and replaces submitted URLs with (this is, I think, largely to help with de-duping).
2. Docusaurus' JS (which Automerge is using) takes a perfectly valid URL and generates a 404.