1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-24 08:18:48 -05:00

Fix bad character encoding when downloading images

This commit is contained in:
tcit 2014-05-19 15:01:36 +02:00
parent becc5bfbf2
commit 18209292a4

View 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);