From f1ff330b38bea12966d9ab47c1f1b9387483468c Mon Sep 17 00:00:00 2001 From: Elena.Budnik Date: Mon, 18 Jun 2018 18:14:35 +0200 Subject: [PATCH] https is not implemented for URL file size definition --- php/uploadFile.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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