Votes of the wrong form can cause the JavaScript to get stuck in an infinite loop and crash.
e.g.
AV (and presumably the other runoff voting methods) loop forever if the only films to remove are not in the listOfCandidates.
Borda count can't cope if a film isn't in a vote.
We should sanitise the votes either on the server, in the Javascript voting methods or both.
Fortunately the members are too nice and/or too incompetent to ruin film night by submitting votes of the wrong form. Unfortunately they have almost managed to ruin film night by submitting terrible films.
Votes of the wrong form can cause the JavaScript to get stuck in an infinite loop and crash. e.g.
We should sanitise the votes either on the server, in the Javascript voting methods or both.
Fortunately the members are too nice and/or too incompetent to ruin film night by submitting votes of the wrong form. Unfortunately they have almost managed to ruin film night by submitting terrible films.