Thomas (boggyb) wrote,

  • Mood:
  • Music:

Web server fail

This is what happened when I clicked on a photo in a blog I read:

Now, you may be thinking that IE is doing something weird. But actually, IE is behaving exactly as it should. It's the server that's at fault:

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Cache-Control: public,max-age=49317
Content-Disposition: attachment;filename=p.txt
Content-Type: image/jpeg; charset=UTF-8
Date: Sat, 09 Feb 2013 22:09:45 GMT
Expires: Sun, 10 Feb 2013 11:51:42 GMT
Via: HTTP/1.1 GWA
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Length: 781118
X-Frame-Options: SAMEORIGIN
Server: GSE

Why yes, the server is telling the browser that it should save (not display) the image, and that the preferred filename is "p.txt". Glorious, isn't it?

Tags: fail

  • Skyward Sword HD: for SCIENCE!

    One thing I've noticed from playing through Skyward Sword HD is how... underwhelming the skyward strike appears, at least to begin with. It takes a…

  • Random quote

    pleaseremove, setting a work quiz: "No, I'm going to get my wrong answers right"

  • E3 WOT WOT!

    There's quite a few games in the Nintendo Direct, so here's what caught my eye... Super Monkey Ball Banana Mania: I'd completely forgotten about…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.