From bb1546ad6686ee3798a337397801f13eddda5764 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 2 Feb 2012 10:24:48 +1100 Subject: [PATCH] false "Your browser sent an invalid or no HTTP referer" error --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index f4acc0d0..68c513dd 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -58,7 +58,7 @@ str_replace('%d', '\d+', preg_quote($config['file_page'], '/')) . '|' . preg_quote($config['file_mod'], '/') . '\?\/.+' . - ')([#?].+)?$/i'; + ')([#?](.+)?)?$/i'; if(!isset($config['cookies']['path'])) $config['cookies']['path'] = &$config['root'];