diff options
author | terry%mozilla.org <> | 2000-01-20 04:24:27 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-01-20 04:24:27 +0100 |
commit | 72a25ca7a281804faa378f384f3a1ddfadaae6e6 (patch) | |
tree | 9ab9238eb32700d21b7444c79873b7cbf27837fd /sanitycheck.cgi | |
parent | 17fc03c80dbd04261a1ba1c4cd343ae1997657ea (diff) | |
download | bugzilla-72a25ca7a281804faa378f384f3a1ddfadaae6e6.tar.gz bugzilla-72a25ca7a281804faa378f384f3a1ddfadaae6e6.tar.xz |
Let's outlaw whitespace in keywords.
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 33890be78..08fbbfb8f 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -234,7 +234,7 @@ while (@row = FetchSQLData()) { Alert("Duplicate entry in keyworddefs for id $id"); } $keywordids{$id} = 1; - if ($name =~ /,/ || $name =~ /^\s/ || $name =~ /\s$/) { + if ($name =~ /[\s,]/) { Alert("Bogus name in keyworddefs for id $id"); } } |