From 6ad56ac41564c5336d7f3b2000c3fc692b37a706 Mon Sep 17 00:00:00 2001
From: Cyril Vazquez <cyril.vazquez@maarch.org>
Date: Thu, 30 Oct 2014 16:50:17 +0000
Subject: [PATCH] FIXFIX #1641 add .htaccess to secure app

---
 core/trunk/.htaccess | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/core/trunk/.htaccess b/core/trunk/.htaccess
index ca429d1963d..dc57a034351 100644
--- a/core/trunk/.htaccess
+++ b/core/trunk/.htaccess
@@ -16,6 +16,11 @@ Require all denied
 </FilesMatch>
 
 # App static files
-<FilesMatch "(css|js|jpg|png|gif)$">
+<FilesMatch "\.(css|js|jpg|png|gif)$">
   Require all granted
-</FilesMatch> 
\ No newline at end of file
+</FilesMatch> 
+
+# App tools files
+<FilesMatch "\.(htm|html|jar)$">
+  Require all granted
+</FilesMatch>
-- 
GitLab