From: John Dong Date: Thu, 30 Aug 2007 15:55:30 +0000 (-0400) Subject: Fix full voter addition bug where the regex flunks the trailing \r on middle items... X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/48f6efa2fbd1e9fd1dd7638ed482fc8ce5a3e136?ds=inline;hp=48f6efa2fbd1e9fd1dd7638ed482fc8ce5a3e136 Fix full voter addition bug where the regex flunks the trailing \r on middle items in the list. At the same time, make sure to only add a voter to the election if it passes validation. This prevents cases where the voter shows up on the AJAX list but mysteriously disappears after confirming. ---