Merge pull request #10452 from owncloud/betterssl

We'd better use SSL in capital
This commit is contained in:
Thomas Müller 2014-08-15 21:23:41 +02:00
commit 2e551d645f

View file

@ -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);