]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix bad character encoding when downloading images
authortcit <tcit@tcit.fr>
Mon, 19 May 2014 13:01:36 +0000 (15:01 +0200)
committertcit <tcit@tcit.fr>
Mon, 19 May 2014 13:01:36 +0000 (15:01 +0200)
inc/poche/pochePictures.php

index e4b0b1608843b0ec8d0a81642a44fb8c2e55d161..a11340f8290dfef58465e49c045508474b18a6ab 100644 (file)
@@ -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);