ssl capital

This commit is contained in:
Volkan Gezer 2014-08-15 20:41:40 +02:00
parent a822a31ce3
commit 3da69ed7d0
1 changed files with 1 additions and 1 deletions

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