summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-28 09:33:32 +0100
committerYorhel <git@yorhel.nl>2010-12-28 09:33:32 +0100
commit26854037e8e4d77653adf2619f1cc2da1b5b736d (patch)
tree89c53c9a71c1a695ecad1a20ca3cae648ebfea2e /lib
parentfd56a6e269aea462a80fff730eccabd4688036e3 (diff)
Bugfix: check for validness of form arguments on /[uv]+/votes
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Handler/ULists.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm
index cb164277..870f634a 100644
--- a/lib/VNDB/Handler/ULists.pm
+++ b/lib/VNDB/Handler/ULists.pm
@@ -127,6 +127,7 @@ sub votelist {
{ name => 's', required => 0, default => 'date', enum => [qw|date title vote|] },
{ name => 'c', required => 0, default => 'all', enum => [ 'all', 'a'..'z', 0 ] },
);
+ return 404 if $f->{_err};
if($own && $self->reqMethod eq 'POST') {
return if !$self->authCheckCode;