]> git.mxchange.org Git - friendica.git/blobdiff - mod/proxy.php
Merge pull request #2986 from annando/1612-spool
[friendica.git] / 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';