Richardphotos opened this issue on Feb 21, 2013 · 191 posts
3DGuy posted Thu, 07 March 2013 at 1:56 AM
Allright, I did some digging. I clicked on a readme file of one of the products. Chrome indeed downloads the file instead of directly opening it. So does Firefox So I dug a little deeper.
It seems renderosity doesn't serve it's mime-types correctly. Mime-types tell the browser what type of file it is. When serving the readme.txt file the header tells the browser its:
Content-Type:·application/octet-stream
By default a browser doesn't show the contents of that because it's not text (or html). At least according to that header. What it should be is:
Content-Type:·text/plain
That tells the browser it's just plain text which can be displayed accordingly. Rendo needs to modify the download script so it serves the right mime-type. I suspect the current script just serves every dowload with the same header.
IE is a bit odd in this as it does display the text, but it shouldn't do that. So it's more like a bug in IE that it does.
On a side note. It appears Rendo is running apache 2.0.52. That's very old (over 8 years). That need to be upgraded ASAP because it has plenty of vulnerabilities.
What is a friend? A single soul dwelling in two bodies. -
Aristotle
-=
Glass Eye Photography =- -= My Rendo Gallery =-