I discovered a fun way to break chrome today!
<a href="http://foobar.egg/blah">somelink</a>
Set up foobar.egg so that it has both HTTP and HTTPS set up, but they lead to different places or HTTPS returns a 404/403.
I discovered a fun way to break chrome today!
<a href="http://foobar.egg/blah">somelink</a>
Set up foobar.egg so that it has both HTTP and HTTPS set up, but they lead to different places or HTTPS returns a 404/403.
Firefox will actually follow the link as written.
Chrome rewrites it to be https://foobar.egg/blah, so it breaks.
I found this out on accident by linking to an old site which had the HTTPS version be broken. I naturally linked to the working HTTP version, but pretty quickly someone complained the link was broken. It's not, it's just that your browser isn't paying attention to the link I actually wrote.
the part of the modern browser I'm most pissed off at is the part that wants the past to die as fast as possible.
The web is always decaying already and surviving sites are rare enough as it is, please stop trying to actively destroy the past.
it'd be almost amusing to set up a site intentionally like this. Like tell everyone to link to the HTTP version, but provide a "stop using chrome" page on the HTTPS version.
I say "almost" amusing because you could just sniff the UA and that's way easier and more reliable
@raven667 tested: it breaks there too
@foone is this with Firefox HTTPS-only mode enabled as well? I suppose I could be less lazy and set up this test case myself...oh well I guess I'll never know...😊
it breaks if you turn on firefox's HTTPS-only mode, and in the same way
like I get the reason for wanting to do this, but it does mean (much like the "you can't download files from HTTP sites" change) that a bunch of old sites break.
Yeah it's annoying that modern, maintained sites might have to make a quick change, but it also means that a lot of old websites are just dead now
and as much as I understand why they're doing it, as an archivist I hate to see any company with as much power over the web as google to decide that they care more about making the modern web slightly more secure than keeping the old web STILL WORKING AT ALL
anyway the workaround is that you have to specify the port.
<a href="http://foobar.egg:80/"> works
@cr1901 that still works. and it doesn't seem to have https set up, which keeps it from getting redirected
@foone What happens with
http://gopher.wdj-consulting.com:70?
at least for chrome. firefox still rewrites in https-only mode, instead of giving you a "no HTTPS available" error
@ryanc it was. thanks. fixed.
@foone Things these days are cursed enough that I'm honestly not sure whether href-" is a typo or not.
@SnepperStepper yeah I've thought about doing that. like stuffing the mozilla engine into some designed to make it look like Netscape 4
@foone i'd love to see a browser developed that mimics the old versions, that can run on a modern computer or an old computer the same. I'd think you might have to tune out things like shopify and things that rely on chrome but like, no big loss let's be real. Websites developed old skool are really the only ones worth visiting.
@foone is that gonna run on my windows 98 setup?
@SnepperStepper probably not no.
the last time I used firefox (2.0) on windows 98, I googled "where is pee stored?" and the results page crashed the whole PC
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.