From b91421b2418954d5f11777c8c490def807ff8340 Mon Sep 17 00:00:00 2001 From: lorisadmin Date: Tue, 30 Jan 2024 19:29:45 +0000 Subject: [PATCH] [htaccess] Modifies rule to allow spaces in filename when downloading files. --- htdocs/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 673f34ed716..389687ba1cc 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -10,6 +10,6 @@ RewriteRule ^([a-zA-Z_-]+)/ajax/([a-zA-Z0-9_.-]+)$ AjaxHelper.php?Module=$1&scri RewriteCond "%{REQUEST_FILENAME}" "!-f" [OR] # Redirect homepage URLs to also use index.php RewriteCond "%{REQUEST_FILENAME}" "(\/main\.php)$" -RewriteRule ^(.*)$ index.php?lorispath=$1 [QSA,L] +RewriteRule ^(.*)$ index.php?lorispath=$1 "[QSA,L,B= ?,BNP]"