mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-10 11:25:04 -05:00
Merge branch 'dev' into images_security
This commit is contained in:
commit
03e501dedd
@ -68,6 +68,7 @@ function get_absolute_link($relative_link, $url) {
|
|||||||
function download_pictures($absolute_path, $fullpath)
|
function download_pictures($absolute_path, $fullpath)
|
||||||
{
|
{
|
||||||
$rawdata = Tools::getFile($absolute_path);
|
$rawdata = Tools::getFile($absolute_path);
|
||||||
|
$fullpath = urldecode($fullpath);
|
||||||
|
|
||||||
if(file_exists($fullpath)) {
|
if(file_exists($fullpath)) {
|
||||||
unlink($fullpath);
|
unlink($fullpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user