qiaofan / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

Images with %20 in filename return error: "Image not found" #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to process image with %20 in filename
2.
3.

What is the expected output? What do you see instead?

suppossed to show processed image, instead returns file not found error

What version of the product are you using? On what operating system?

version 1.30

Please provide any additional information below.

Image and script are on my site which is hosted on server with linux/apache and 
latest php version.
Verified that image file exists and is valid jpg image. 
Other images in same directory without %20 in filename display just fine
attached is one image with %20 in filename which causes timthumb file not found 
error

Original issue reported on code.google.com by geek...@gmail.com on 20 Jun 2011 at 8:05

Attachments:

GoogleCodeExporter commented 8 years ago
corrected the issue using urlencode($filename)

everything works fine now

Original comment by geek...@gmail.com on 20 Jun 2011 at 9:09

GoogleCodeExporter commented 8 years ago

Original comment by BinaryMoon on 6 Aug 2011 at 7:59