torkell: (Default)
[personal profile] torkell

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?

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 8th, 2026 05:42 am
Powered by Dreamwidth Studios