From 5f5cf89c84c7c92f489f02bae41468ab2a63e4db Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 03 Aug 2011 09:57:47 -0400 Subject: [PATCH] - Check current search value in ksearch_query_results() to prevent from wrong regexp replacement when it's empty --- .htaccess | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 00e1bf2..2bc9f95 100644 --- a/.htaccess +++ b/.htaccess @@ -16,6 +16,7 @@ php_flag zend.ze1_compatibility_mode Off php_flag suhosin.session.encrypt Off +#php_value session.cookie_path / php_value session.auto_start 0 php_value session.gc_maxlifetime 21600 php_value session.gc_divisor 500 @@ -28,6 +29,9 @@ <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^favicon.ico$ skins/default/images/favicon.ico +# security rules +RewriteRule .svn/ - [F] +RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] </IfModule> <IfModule mod_deflate.c> @@ -45,5 +49,4 @@ </IfModule> FileETag MTime Size - - +Options -Indexes -- Gitblit v1.9.1