forked from leftypol/leftypol
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue