]> git.ipfire.org Git - ipfire.org.git/commitdiff
blog: Allow dots in tags
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Aug 2018 07:37:03 +0000 (08:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Aug 2018 07:37:03 +0000 (08:37 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/__init__.py

index a3543b6a4346da752347c447237f1465c4dd7125..1f5fb492f956b785cfc89bf1b44a55a23f78493e 100644 (file)
@@ -119,7 +119,7 @@ class Application(tornado.web.Application):
                        (r"/authors/(\w+)", blog.AuthorHandler),
                        (r"/post/(.*)", blog.PostHandler),
                        (r"/search", blog.SearchHandler),
-                       (r"/tags/([0-9a-z\-]+)", blog.TagHandler),
+                       (r"/tags/([0-9a-z\-\.]+)", blog.TagHandler),
                        (r"/years/([0-9]+)", blog.YearHandler),
 
                        # RSS Feed