]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/File_redirection.php
ftps protocol should be handled the same way as ftp
[quix0rs-gnu-social.git] / classes / File_redirection.php
index d6fa0bcb6286bc6d13b6527e40b99b92878606db..363e3b947c2a04f74ed9222bfe05c6cd39b3c767 100644 (file)
@@ -182,7 +182,7 @@ class File_redirection extends Memcached_DataObject
             }
         }
 
-        if (('ftp' == $p['scheme']) || ('http' == $p['scheme']) || ('https' == $p['scheme'])) {
+        if (('ftp' == $p['scheme']) || ('ftps' == $p['scheme']) || ('http' == $p['scheme']) || ('https' == $p['scheme'])) {
             if (empty($p['host'])) return false;
             if (empty($p['path'])) {
                 $out_url .= '/';