tags: restrict tags to a more sensible set
commit76ad4adc3cf58b370c98281a0311cc1f57d02f30
authorKyle J. McKay <mackyle@gmail.com>
Sun, 28 Jul 2013 10:53:54 +0000 (28 03:53 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 28 Jul 2013 10:53:54 +0000 (28 03:53 -0700)
treefdb5738d746ee921e8dc86e935365d5aa1468807
parent601dc7f94b110c2a0fb0237061ad4d6e65fb5847
tags: restrict tags to a more sensible set

In addition to the previous restriction that all tags must consist
of only [a-zA-Z0-9:.+#_-] characters, require the first character
to be a letter, disallow 1-character tags (except for 'C'), disallow
tags longer than 32 characters and prevent noise word tags.

Pre-existing tags that would no longer be allowed are NOT removed.
Girocco/Util.pm
cgi/tagproj.cgi