by LeonM · 7y ago · 0 comments
As it turned out: the webserver returned a 500 for every file, but still served it. So the website rendered flawless in a browser.
I still wonder if it was just a badly configured webserver or if the owner did this on purpose to prevents scrapers and search engines.
After publishing it on addons.mozilla.org, I almost immediately got messages that it marked reachable websites as expired.
So instead of just checking the HTTP status code for 404, I now also check if the page content contains strings like "404" or "not found". If it doesn't contain those I mark the bookmark as maybe expired.
Differentials in how browsers handled weird status codes allowed for fingerprinting. Differentials in how different automated tools/scanners handled weird status codes allowed for defensive tactics.
Looked fine in a browser, but not an ideal case for SEO...