Fixed bug affecting Safari. Safari seems to like to send the client-side part of URLs (#) in the referrer.
This commit is contained in:
parent
39acbf8834
commit
0d6997bd29
@ -54,7 +54,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'];
|
||||
|
Loading…
Reference in New Issue
Block a user