From d3eb3a790804184521d3e5d5029dfbc1b3fa81b1 Mon Sep 17 00:00:00 2001 From: Robin Malley Date: Thu, 24 Dec 2020 04:09:38 +0000 Subject: [PATCH] Fix some storynames breaking The kore filter would filter out some story names that had special characters like ',*, or ), allow them in the regex match. --- conf/smr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/smr.conf b/conf/smr.conf index 60addbd..35262be 100644 --- a/conf/smr.conf +++ b/conf/smr.conf @@ -17,7 +17,7 @@ http_body_max 8388608 tls_dhparam dh2048.pem validator v_any regex [\s\S]* -validator v_storyid regex [a-zA-Z0-9]+ +validator v_storyid regex [a-zA-Z0-9$+!*'(),-]+ validator v_subdomain regex [a-z0-9]{1,30} validator v_markup regex (plain|imageboard) validator v_bool regex (0|1)