diff options
Diffstat (limited to 'pgcommitfest/commitfest/ajax.py')
-rw-r--r-- | pgcommitfest/commitfest/ajax.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/ajax.py b/pgcommitfest/commitfest/ajax.py index e334c57..e2fcb55 100644 --- a/pgcommitfest/commitfest/ajax.py +++ b/pgcommitfest/commitfest/ajax.py @@ -64,6 +64,8 @@ def getThreads(request): def getMessages(request): + if 't' not in request.GET: + raise Http404("Missing parameter") threadid = request.GET['t'] thread = MailThread.objects.get(pk=threadid) |