diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-19 17:07:29 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-02-19 17:07:29 +0100 |
commit | 513940f4a4e97a3a46f9becdb24d8c964b92fb86 (patch) | |
tree | 0df9d7e28a31293d79395fe39ed5731eef6227fa /apps/files_external/ajax | |
parent | e517e642befa119b77521a2e15571ee6932046ad (diff) | |
download | nextcloud-server-513940f4a4e97a3a46f9becdb24d8c964b92fb86.tar.gz nextcloud-server-513940f4a4e97a3a46f9becdb24d8c964b92fb86.zip |
Correctly redirect to settings page when not selecting cert file for upload
Fix #5463
Diffstat (limited to 'apps/files_external/ajax')
-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; } |