Download & Extend

Can't view images with lowercase jpg extension

Project:Secure Site
Version:6.x-2.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

I am using imagefield and imagecache to upload and display images on my website. After I activate Secure Site, I am unable to view any images in the default/files folder that have any upper case letters. For example, I am unable to view the image www.example.com/sites/default/files/Testimage.jpg even though I can see through ftp that the file Testimage.jpg is in fact in that folder.

Any help is appreciated.

Thanks.

Comments

#1

Title:Can't view images with uppercase name» Can't view images with lowercase jpg extension

UPDATE:

I did some more testing, and it turns out that it is the lowercase jpg extension that is creating the problem. That is, testimage.jpg cannot be viewed but testimage.JPG can.

#2

Any patch or fix for this issue? I have far to many images uploaded to rename all and upload again.

Thanks

#3

I have the same problem with thumbnails in Drupal 7. No Secure Site in my installation.
Thumbnails for files with lowercase extensions don't displayed. There is no problem with uppercase.
That is very bad for me because I have gallery and ordinary users can't upload files with .jpg extension.

Maybe the problem is somewhere in code in comparison of strings.

AttachmentSize
1.jpg 41.87 KB
2.jpg 7.67 KB

#4

Status:active» postponed (maintainer needs more info)

What kind of file handling are you using?