virgoshyam / timthumb

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

Some character in file name produce errors #380

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. upload image with this four character in file name ' . ( )

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

The following error(s) occured:
Could not find the internal image you specified.

Query String : 
src=http://www.********/news/wp-content/uploads/vb/6433-Andreucci-Andreussi%20(M
.Bettiol)%20Salento%20'11.jpg&h=380&w=620&zc=1&q=100

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

TimThumb version : 2.8.10

Please provide any additional information below.

I've removed this three character from file name: ' ( )

and image is showing correctly

Original issue reported on code.google.com by i...@dnk.it on 18 May 2012 at 5:48

GoogleCodeExporter commented 8 years ago
don't use illegal characters in file names and make sure to encode src paths

Original comment by BinaryMoon on 4 Dec 2012 at 9:26