summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-02-20 16:24:31 +0100
committericewind1991 <robin@icewind.nl>2014-02-20 16:24:31 +0100
commitd1b1ad0813b95d8dd22dad3fe99559a4a10e8e4a (patch)
tree15ace8ddfe0e3fbe0a448c81cb6531750b7cfe2c /apps
parent984ea7b3ff040b7b2682d0c87f499a00b4314fb8 (diff)
parent513940f4a4e97a3a46f9becdb24d8c964b92fb86 (diff)
downloadnextcloud-server-d1b1ad0813b95d8dd22dad3fe99559a4a10e8e4a.tar.gz
nextcloud-server-d1b1ad0813b95d8dd22dad3fe99559a4a10e8e4a.zip
Merge pull request #7290 from owncloud/issue/5463
Correctly redirect to settings page when not selecting cert file for upload
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/ajax/addRootCertificate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/ajax/addRootCertificate.php b/apps/files_external/ajax/addRootCertificate.php
index ae349bfcd3a..fcd3a617ada 100644
--- a/apps/files_external/ajax/addRootCertificate.php
+++ b/apps/files_external/ajax/addRootCertificate.php
@@ -4,7 +4,7 @@ OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::callCheck();
if ( ! ($filename = $_FILES['rootcert_import']['name']) ) {
- header("Location: settings/personal.php");
+ header('Location:' . OCP\Util::linkToRoute( "settings_personal" ));
exit;
}