aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-05-19 15:01:36 +0200
committertcit <tcit@tcit.fr>2014-05-19 15:01:36 +0200
commit18209292a4f0ac0ac01795cd5e4cd9f2b449dded (patch)
tree06e3e6c39f830310aaaf5b3e314eeff2dfc7f728
parentbecc5bfbf289b1dda65fea4761742f1998d2143a (diff)
downloadwallabag-18209292a4f0ac0ac01795cd5e4cd9f2b449dded.tar.gz
wallabag-18209292a4f0ac0ac01795cd5e4cd9f2b449dded.tar.zst
wallabag-18209292a4f0ac0ac01795cd5e4cd9f2b449dded.zip
Fix bad character encoding when downloading images
-rw-r--r--inc/poche/pochePictures.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php
index e4b0b160..a11340f8 100644
--- a/inc/poche/pochePictures.php
+++ b/inc/poche/pochePictures.php
@@ -68,6 +68,7 @@ function get_absolute_link($relative_link, $url) {
68function download_pictures($absolute_path, $fullpath) 68function download_pictures($absolute_path, $fullpath)
69{ 69{
70 $rawdata = Tools::getFile($absolute_path); 70 $rawdata = Tools::getFile($absolute_path);
71 $fullpath = urldecode($fullpath);
71 72
72 if(file_exists($fullpath)) { 73 if(file_exists($fullpath)) {
73 unlink($fullpath); 74 unlink($fullpath);