From 6bc1e46afbc57e659319eb7060c3981476c92d04 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 29 Jun 2021 17:00:37 +0200 Subject: [PATCH] Fix tmp files access --- src/includes/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/routes.php b/src/includes/routes.php index 2086028e..384accfe 100644 --- a/src/includes/routes.php +++ b/src/includes/routes.php @@ -334,7 +334,7 @@ function handle_tmp_file($request) { } LSurl :: error_404($request); } -LSurl :: add_handler('#^tmp/(?P[^/]+)$#', 'handle_tmp_file', false, true, false, 'GET'); +LSurl :: add_handler('#^tmp/(?P[^/]+)$#', 'handle_tmp_file', true, true, false, 'GET'); /* ************************************************************