]> projects.mako.cc - selectricity-live/commit
* Tighter validation, closed a number of crashes due to invalid data
authorJohn Dong <jdong@mit.edu>
Thu, 16 Aug 2007 17:54:37 +0000 (13:54 -0400)
committerJohn Dong <jdong@mit.edu>
Thu, 16 Aug 2007 17:54:37 +0000 (13:54 -0400)
commitcf4234876994cb4b7e09cdd116e092424d9f4951
tree7e3bab6a652c83696dd76c52aa01bfa636b4234d
parente682e1ecce33417f8410e71bd58d385c47e37c5b
* Tighter validation, closed a number of crashes due to invalid data
* Security: Escape HTML to prevent injection of code onto the form
* Prevent empty candidates from passing validation
* Clearer, non Engrishy error messages on quickvote/create
* Prevent quickvote ident names from clashing with reserved controller actions
app/models/quick_vote.rb

Benjamin Mako Hill || Want to submit a patch?