From 2f46f1d844c30cd744bf4b71dd60d3312296a45d Mon Sep 17 00:00:00 2001 From: 8chan Date: Tue, 10 Jun 2014 23:46:28 +0000 Subject: [PATCH] Allow mod.php?/board without final / --- mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.php b/mod.php index ca00b42e..189d8a6d 100644 --- a/mod.php +++ b/mod.php @@ -99,7 +99,7 @@ $pages = array( '/debug/sql' => 'secure_POST debug_sql', // This should always be at the end: - '/(\%b)/' => 'view_board', + '/(\%b)/?' => 'view_board', '/(\%b)/' . preg_quote($config['file_index'], '!') => 'view_board', '/(\%b)/' . str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) => 'view_board', '/(\%b)/' . preg_quote($config['dir']['res'], '!') .