diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-14 15:47:23 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-31 10:45:11 +0200 |
commit | dcc4f96d3e368ee976cd085c18dcb74ada3617ce (patch) | |
tree | 267b8bbf66ec4cc3b1201c4a3f6229f24b1df9fb /apps/files_external/ajax | |
parent | c2ebc192a6a6c7cb9cff958e412e0cc4aff15ead (diff) | |
download | nextcloud-server-dcc4f96d3e368ee976cd085c18dcb74ada3617ce.tar.gz nextcloud-server-dcc4f96d3e368ee976cd085c18dcb74ada3617ce.zip |
Verify names of certificates
Diffstat (limited to 'apps/files_external/ajax')
-rw-r--r-- | apps/files_external/ajax/removeRootCertificate.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/ajax/removeRootCertificate.php b/apps/files_external/ajax/removeRootCertificate.php index e6795800e03..0931138ad4b 100644 --- a/apps/files_external/ajax/removeRootCertificate.php +++ b/apps/files_external/ajax/removeRootCertificate.php @@ -6,6 +6,4 @@ OCP\JSON::callCheck(); $name = $_POST['cert']; $certificateManager = \OC::$server->getCertificateManager(); -if (\OC\Files\Filesystem::isValidPath($name)) { - $certificateManager->removeCertificate($name); -} +$certificateManager->removeCertificate($name); |