diff options
author | Brice Maron <brice@bmaron.net> | 2012-05-24 22:48:10 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-05-24 22:48:10 +0000 |
commit | 9c2a6fb551487dad29cd327a5f357f2ac28e8edd (patch) | |
tree | a0d3409723a754b31baaad7145f875b7de1544a2 /apps/files/ajax/download.php | |
parent | 5fa14806c8e638143c1b67eb9dc532b255f23bd7 (diff) | |
download | nextcloud-server-9c2a6fb551487dad29cd327a5f357f2ac28e8edd.tar.gz nextcloud-server-9c2a6fb551487dad29cd327a5f357f2ac28e8edd.zip |
Add HEAD request management for files ajax/download.php
Diffstat (limited to 'apps/files/ajax/download.php')
-rw-r--r-- | apps/files/ajax/download.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index fd2d9b891f5..e9373f5f6ac 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -33,5 +33,5 @@ OCP\User::checkLoggedIn(); $files = $_GET["files"]; $dir = $_GET["dir"]; -OC_Files::get($dir,$files); +OC_Files::get($dir, $files, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false); ?> |