From 18209292a4f0ac0ac01795cd5e4cd9f2b449dded Mon Sep 17 00:00:00 2001 From: tcit Date: Mon, 19 May 2014 15:01:36 +0200 Subject: [PATCH] Fix bad character encoding when downloading images --- inc/poche/pochePictures.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php index e4b0b16..a11340f 100644 --- a/inc/poche/pochePictures.php +++ b/inc/poche/pochePictures.php @@ -68,6 +68,7 @@ function get_absolute_link($relative_link, $url) { function download_pictures($absolute_path, $fullpath) { $rawdata = Tools::getFile($absolute_path); + $fullpath = urldecode($fullpath); if(file_exists($fullpath)) { unlink($fullpath);