mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-08 03:00:53 +00:00
Fix bad character encoding when downloading images
This commit is contained in:
parent
becc5bfbf2
commit
18209292a4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue