Author Topic: [1.7 - 1.7.3] Thumbnaler in ACP doesnt work with single quote ( ' ) in filenames  (Read 18720 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
In admin/thumbnailer.php find:
Code: [Select]
                  SET image_thumb_file = '".$image_cache[$key]['image_media_file']."'
Replace with:
Code: [Select]
                  SET image_thumb_file = '".addslashes($image_cache[$key]['image_media_file'])."'
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)