Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preserve case for uploaded files
#1
Hi,

I've got this use case where I would like to upload performance test reports which consists of one html and several images (jpgs and gifs). The report, including the html doc, is exported from the test tool. The filenames includes both lower and uppercase letters.

My problem is that I upload the files with GS, their names gets converted to lower case. So the report doesn't show all the fancy charts and images.

After a little code browsing, I found the ./admin/inc/basic.php with the function clean_img_name which I think gets called for every file uploaded. The first line in that function goes like this: $text = strip_tags(lowercase($text));

I could go ahead and remove the call to lowercase, but I'm not at all sure what I could/will break by doing so...

Thanks for a great CMS. It's been no more than a few days since I installed it... Good stuff!

Best regards,
beam
Reply


Messages In This Thread
Preserve case for uploaded files - by beam - 2011-11-26, 00:54:27
Preserve case for uploaded files - by Connie - 2011-11-26, 08:24:58
Preserve case for uploaded files - by beam - 2011-11-29, 01:05:33



Users browsing this thread: 1 Guest(s)