projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b4f2a
)
Don't crash on missing parameter
author
Magnus Hagander
<
[email protected]
>
Wed, 7 Jun 2023 19:08:11 +0000
(21:08 +0200)
committer
Magnus Hagander
<
[email protected]
>
Wed, 7 Jun 2023 19:08:11 +0000
(21:08 +0200)
pgcommitfest/commitfest/ajax.py
patch
|
blob
|
blame
|
history
diff --git
a/pgcommitfest/commitfest/ajax.py
b/pgcommitfest/commitfest/ajax.py
index e334c57cf9eb74e631db0ba36c2619de0ce62739..e2fcb55e1666095b558c9a7dfb83e5abad2ad0c9 100644
(file)
--- 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)