rifanece / timthumb

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

Enable using this script with images that have ~ in urls #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to use timthumb with images that have tilda (~) in url
2. like 
http://64.120.253.90/~baguje/wp-content/uploads/2009/04/pliablepress-300x250.jpg

What is the expected output? What do you see instead?
All working great

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

Enable using this script with images that have ~ in urls.

I fixed this for my site with 
$src = str_replace("http://64.120.253.90/~baguje/", "", $src);

but it will be awesome if you fix this in script too.

Original issue reported on code.google.com by djevrek on 16 Sep 2010 at 10:10