diff options
author | icewind1991 <robin@icewind.nl> | 2014-02-20 16:24:31 +0100 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-02-20 16:24:31 +0100 |
commit | d1b1ad0813b95d8dd22dad3fe99559a4a10e8e4a (patch) | |
tree | 15ace8ddfe0e3fbe0a448c81cb6531750b7cfe2c /apps | |
parent | 984ea7b3ff040b7b2682d0c87f499a00b4314fb8 (diff) | |
parent | 513940f4a4e97a3a46f9becdb24d8c964b92fb86 (diff) | |
download | nextcloud-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.php | 2 |
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; } |