- Visit https://flathub.org//garbage/here
- Enter
curl --head https://flathub.org/garbage/here
Result: you get a jokey
It would be regular 404 page
… except, we didn’t receive a 404 response status!
error page, but the web server returns HTTP/2 200 status OK.
This leads to scripts and crawlers thinking failed requests succeeded, unless they use heuristics to look at the page content.
nginx JavaScript may be inserting the faux 404 text.