Merge pull request #10452 from owncloud/betterssl
We'd better use SSL in capital
This commit is contained in:
commit
2e551d645f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ $name = OCP\Files::buildNotExistingFileName('/', $name);
|
|||
|
||||
// check for ssl cert
|
||||
if (substr($remote, 0, 5) === 'https' and !OC_Util::getUrlContent($remote)) {
|
||||
\OCP\JSON::error(array('data' => array('message' => $l->t("Invalid or untrusted ssl certificate"))));
|
||||
\OCP\JSON::error(array('data' => array('message' => $l->t("Invalid or untrusted SSL certificate"))));
|
||||
exit;
|
||||
} else {
|
||||
$mount = $externalManager->addShare($remote, $token, $password, $name, $owner);
|
||||
|
|
Loading…
Reference in a new issue