Browse Source

Fixed bug affecting Safari. Safari seems to like to send the client-side part of URLs (#) in the referrer.

pull/40/head
Savetheinternet 13 years ago
parent
commit
0d6997bd29
  1. 2
      inc/functions.php

2
inc/functions.php

@ -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…
Cancel
Save