diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-15 15:02:22 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-15 15:08:10 +0100 |
commit | a0ef88770f5fe318f38eaa7dc794727a507c797b (patch) | |
tree | 1f101c1caef3f276e3a5b1cc8b5ad8763d8a0999 /devel | |
parent | 3d6392391b3a0b37bea06f36f1998344ae170df2 (diff) | |
download | archweb-a0ef88770f5fe318f38eaa7dc794727a507c797b.tar.gz archweb-a0ef88770f5fe318f38eaa7dc794727a507c797b.tar.xz |
Ensure package search form correctly handles errors
We were silently eating errors and just showing a normal package list if
the form didn't validate. Rather than do that, make sure we return no
packages at all and display the form errors back to the user in a sane
fashion. Adjust the validation methods on the 'limit' parameter so any
integer is acceptable.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
0 files changed, 0 insertions, 0 deletions