diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-09-14 09:17:34 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-09-17 19:55:47 +0200 |
commit | 6adb19b296958091ffef0145bffe6da0439f5259 (patch) | |
tree | 9753d29a3fbd19c995885666d98231ca59624c5a /apps/files_sharing/appinfo | |
parent | dada6ec60a7a4a7092748bbce6fafd1936a57389 (diff) | |
download | nextcloud-server-6adb19b296958091ffef0145bffe6da0439f5259.tar.gz nextcloud-server-6adb19b296958091ffef0145bffe6da0439f5259.zip |
Show filename on share link download
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index a4edada738c..8915f135ba2 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -50,9 +50,10 @@ return [ ], [ 'name' => 'Share#downloadShare', - 'url' => '/s/{token}/download', + 'url' => '/s/{token}/download/{filename}', 'verb' => 'GET', 'root' => '', + 'defaults' => ['filename' => ''] ], [ 'name' => 'PublicPreview#directLink', |