From f7ca446bc998d51deeddf60820cc9b8eacdb7586 Mon Sep 17 00:00:00 2001 From: Sam Splunks <72095718+samsplunks@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:03:57 +0000 Subject: [PATCH] Fixed url pattern --- helpdesk/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/urls.py b/helpdesk/urls.py index dc3f0eef..6cc7eb99 100644 --- a/helpdesk/urls.py +++ b/helpdesk/urls.py @@ -251,7 +251,7 @@ if helpdesk_settings.HELPDESK_KB_ENABLED: path("kb/", kb.index, name="kb_index"), re_path(r"^kb/(?P[A-Za-z0-9_-]+)/$", kb.category, name="kb_category"), - path("kb//vote/(?Pup|down)/", kb.vote, name="kb_vote"), + re_path(r"^kb/(?P\d+)/vote/(?Pup|down)/$", kb.vote, name="kb_vote"), re_path( r"^kb_iframe/(?P[A-Za-z0-9_-]+)/$", kb.category_iframe,