Menu

#24 Wrong extensions for some images

open
nobody
None
5
2003-10-20
2003-10-20
Anonymous
No

From: Björn Lindström <bkhl@elektrubadur.se>

The Mac Hall definition, and probably more, doesn't
work for me, since the extension of the resulting image
is .phpˇ

This means that my web server tries to run the image as
a PHP script. Not good.

I guess I could solve this by a bunch of rules in my
.htaccess, but that would result in an ugly kludge.

A better solution I think would be to add a directive
for definitions. Something like

filetype jpeg

would rewrite the extension of the image to jpeg.

Discussion

  • Urko Masse

    Urko Masse - 2003-12-05

    Logged In: YES
    user_id=793969

    Real Life comics is also giving the same problem. Files get
    saved with .php extension.

     

Log in to post a comment.

MongoDB Logo MongoDB