chiark
/
gitweb
/
~webstump
/
modbot-ulm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1dd39
)
Allow votes to be entered in upper case
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 1 Mar 2010 12:42:05 +0000
(12:42 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 1 Mar 2010 12:42:05 +0000
(12:42 +0000)
sballot/cgi
patch
|
blob
|
history
diff --git
a/sballot/cgi
b/sballot/cgi
index d328b9b979e86ddb5f44135fa74548cc55d381f1..b537dcc393681b74bab4aec4df264c937fca6263 100755
(executable)
--- a/
sballot/cgi
+++ b/
sballot/cgi
@@
-60,7
+60,7
@@
if (length $vote or length $ident or length $pw) {
fail('bad password') if !defined $pw or $pw =~ m/[^0-9a-z]/;
my $pwhash= hash($pw);
- fail('bad vote') if $vote =~ m/[^0-9a-z]/;
+ fail('bad vote') if $vote =~ m/[^0-9a-z]/
i
;
$vote =~ y/a-z/A-Z/;
fail("invalid vote - consult administrator's instructions")