bugfix: posting from another page would return "invalid referrer" errors
This commit is contained in:
parent
b488828b56
commit
1a4eb1dea6
@ -47,7 +47,10 @@
|
||||
preg_quote($config['root'], '/') .
|
||||
'(' .
|
||||
str_replace('%s', '\w+', preg_quote($config['board_path'], '/')) .
|
||||
'(' . preg_quote($config['file_index'], '/') . ')?' .
|
||||
'(' .
|
||||
preg_quote($config['file_index'], '/') . '|' .
|
||||
str_replace('%d', '\d+', preg_quote($config['file_page'])) .
|
||||
')?' .
|
||||
'|' .
|
||||
str_replace('%s', '\w+', preg_quote($config['board_path'], '/')) .
|
||||
preg_quote($config['dir']['res'], '/') .
|
||||
|
Loading…
Reference in New Issue
Block a user