ssl capital
This commit is contained in:
parent
a822a31ce3
commit
3da69ed7d0
|
@ -35,7 +35,7 @@ $name = OCP\Files::buildNotExistingFileName('/', $name);
|
||||||
|
|
||||||
// check for ssl cert
|
// check for ssl cert
|
||||||
if (substr($remote, 0, 5) === 'https' and !OC_Util::getUrlContent($remote)) {
|
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;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
$mount = $externalManager->addShare($remote, $token, $password, $name, $owner);
|
$mount = $externalManager->addShare($remote, $token, $password, $name, $owner);
|
||||||
|
|
Loading…
Reference in New Issue