From 37838718fb9b82c43bc5033af60919864fa737e4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Nov 2022 16:28:46 +0000 Subject: [PATCH] Safer path --- webapp_timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index e5a3511c6..73d213670 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -1048,7 +1048,7 @@ def html_timeline(default_timeline: str, tl_str += text_mode_separator first_post = '' if last_post_id: - first_post = ';firstpost=' + last_post_id + first_post = ';firstpost=' + last_post_id.replace('#', '--') tl_str += \ '
\n' + \ '
\n' + \