Closed GoogleCodeExporter closed 9 years ago
Please try the latest version. I've followed your suggestion but a little
earlier in execution. Thanks for the bug and fix.
Original comment by mmaun...@gmail.com
on 8 Aug 2011 at 4:11
That's how I tried to solve the issue first. Although it does not work as your
foreach loop in line 787 needs unix style path. If you convert your docRoot
with the realpath the way you have done it, it will break the loop.
You can either used the fix I suggested or you always have to use the realpath
function every time you handle file paths (which I wouldn't suggest).
Original comment by bernhard...@gmail.com
on 8 Aug 2011 at 4:18
OK try it now. Implemented your first idea and yanked my last commit.
Original comment by mmaun...@gmail.com
on 8 Aug 2011 at 4:42
Original comment by mmaun...@gmail.com
on 8 Aug 2011 at 4:42
Please try the latest version. It has improved path searching and I've moved
the realpath for docRoot to the top of file search to prevent repeated stat()
calls.
Original comment by mmaun...@gmail.com
on 8 Aug 2011 at 5:17
Looking good! Can be closed. Thanks for the fast fix!
Original comment by bernhard...@gmail.com
on 8 Aug 2011 at 5:31
Thanks!
Original comment by mmaun...@gmail.com
on 8 Aug 2011 at 5:40
Excuseme I have a trouble with the script, I get on my website the next message
when a try to see the image route:
Warning: realpath() [function.realpath]: open_basedir restriction in effect.
File(/usr/local/apache/htdocs) is not within the allowed path(s):
(/home/:/usr/lib/php:/tmp) in
/home/u775803560/public_html/wp-content/themes/Sosa-Blue/timthumb.php on line
815
My version of the Thimthumb is the 2.8 not is 2.8.10, I try to change the
version and the same error is happening but in another line, how I can deny the
script try to acces to that route?
In the version 2.8 in that line say "See issue 224. Using realpath as a windows
fix."
Original comment by drack...@gmail.com
on 10 Jul 2012 at 10:24
Original issue reported on code.google.com by
bernhard...@gmail.com
on 8 Aug 2011 at 12:45