“Offline for maintenance” should not lose the link I tried to open
Really, this drives me insane. Every time there's an error of some sort, I get redirected from stackoverflow.com/foo to stackoverflow.com/error?aspxerrorpath=/foo . The page is served with a 500 status code, but there's two issues here:
- The page that actually has the error returns a 301/302, which is wrong - the resource hasn't moved.
- It ensures that no matter how many times I refresh the page, I always get the error page, because I've been redirected. To try again, I have to edit the URL - potentially, over and over.
I really thought terrible practices like this were restricted to sites far more poorly written than SO.