From 8b4d70b3567f39fee1ad60ad65601ccc708d86a4 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Mon, 5 Dec 2016 14:25:34 -0500 Subject: [PATCH] fix short download urls --- controller/action/DownloadActions.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/action/DownloadActions.class.php b/controller/action/DownloadActions.class.php index aec59589..a6743b4b 100644 --- a/controller/action/DownloadActions.class.php +++ b/controller/action/DownloadActions.class.php @@ -20,7 +20,7 @@ class DownloadActions extends Actions break; } - return Controller::redirect($target ?: '/get', 302); + return Controller::redirect($uri ?: '/get', 302); } public static function executeGet()