diff --git a/php/uploadFile.php b/php/uploadFile.php index 8a582e1..7785c20 100644 --- a/php/uploadFile.php +++ b/php/uploadFile.php @@ -183,7 +183,13 @@ } $url = null; - + + if (substr($remoteName,0,5) == 'https') + { + $response = array( 'success' => false, 'error' => ' : Sorry, https protocol is no implemented yet'); + die(json_encode($response)); + } + if (substr($remoteName,0,4) == 'http') $url = 'http'; if (substr($remoteName,0,3) == 'ftp') $url = 'ftp'; -- libgit2 0.21.2