From 0d9c2b7cc88a6ec79d37ed21ddef6464860cdb84 Mon Sep 17 00:00:00 2001 From: rr- Date: Tue, 5 Jul 2016 23:40:48 +0200 Subject: [PATCH] server/tags: fix tag names allowing whitespace --- config.yaml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yaml.dist b/config.yaml.dist index 7a3cd6c6..b0b33ec5 100644 --- a/config.yaml.dist +++ b/config.yaml.dist @@ -37,8 +37,8 @@ limits: posts_per_page: 40 max_comment_length: 5000 -tag_name_regex: ^[^%+#/]+$ -tag_category_name_regex: ^[^%+#/]+$ +tag_name_regex: ^[^\s%+#/]+$ +tag_category_name_regex: ^[^\s%+#/]+$ default_rank: regular