]> git.mxchange.org Git - friendica.git/commitdiff
Avoid UTF8 warning in mod/proxy.php
authorMichael <heluecht@pirati.ca>
Sun, 20 Nov 2016 08:30:30 +0000 (08:30 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 20 Nov 2016 08:30:30 +0000 (08:30 +0000)
mod/proxy.php

index f2a7c30eacb4332a481a5389cb2ff86bf1f63691..de2810dd78e87ba1ae6294a5d4c5b5047401c1bd 100644 (file)
@@ -264,7 +264,7 @@ function proxy_url($url, $writemode = false, $size = '') {
        }
 
        // Image URL may have encoded ampersands for display which aren't desirable for proxy
-       $url = html_entity_decode($url, ENT_NOQUOTES, 'UTF8');
+       $url = html_entity_decode($url, ENT_NOQUOTES, 'utf-8');
 
        // Creating a sub directory to reduce the amount of files in the cache directory
        $basepath = $a->get_basepath() . '/proxy';