summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-24 20:44:06 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-24 20:44:06 -0400
commit9fd3a41576bd5365f9156b47490eecddfb2aa842 (patch)
tree1f1c1dd82d9d6613ee83748a2aaba93db506afeb /classes
parentab2f6fb8601fa0463c0fedc872a830b9d5283ba4 (diff)
ftps protocol should be handled the same way as ftp
Canon urls that have a protocol followed by a host (and no path) automatcally get a trailing slash by the canon function - make the unit test match that
Diffstat (limited to 'classes')
-rw-r--r--classes/File_redirection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/File_redirection.php b/classes/File_redirection.php
index d6fa0bcb6..363e3b947 100644
--- a/classes/File_redirection.php
+++ b/classes/File_redirection.php
@@ -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 .= '/';