aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-05-19 15:04:09 +0200
committertcit <tcit@tcit.fr>2014-05-19 15:04:09 +0200
commit03e501dedda33bdc662aae3308c4b69d26e1cf4b (patch)
tree8dc9f8d19595b2ec58a70d8c91d311edbb5c7c84
parent007f26e582251895ea7d12b509c8aee24c4b1f47 (diff)
parent18209292a4f0ac0ac01795cd5e4cd9f2b449dded (diff)
downloadwallabag-03e501dedda33bdc662aae3308c4b69d26e1cf4b.tar.gz
wallabag-03e501dedda33bdc662aae3308c4b69d26e1cf4b.tar.zst
wallabag-03e501dedda33bdc662aae3308c4b69d26e1cf4b.zip
Merge branch 'dev' into images_security
-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 3202f2cc..f10cc25e 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);