]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/pochePictures.php
Fix bad character encoding when downloading images
[github/wallabag/wallabag.git] / inc / poche / pochePictures.php
index b0cfb9df84934f657fd44e664750ec3956edbea8..a11340f8290dfef58465e49c045508474b18a6ab 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /**
- * poche, a read it later open source system
+ * wallabag, self hostable application allowing you to not miss any content anymore
  *
- * @category   poche
- * @author     Nicolas LÅ“uillet <support@inthepoche.com>
+ * @category   wallabag
+ * @author     Nicolas LÅ“uillet <nicolas@loeuillet.org>
  * @copyright  2013
  * @license    http://www.wtfpl.net/ see COPYING 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);