diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-05 22:59:51 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-05 22:59:51 +1100 |
| commit | 0d6997bd29d28f5064c1bbee14026c37b1212fc8 (patch) | |
| tree | b2c9972fa334aae5847f774fd1360784d665403b | |
| parent | 39acbf8834a12bc3ae51c12b8f9c431cd606f2b6 (diff) | |
Fixed bug affecting Safari. Safari seems to like to send the client-side part of URLs (#) in the referrer.
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 2867b4dc..7d12ccfb 100644 --- a/inc/functions.php +++ b/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']; |
