Files
danbooru/app/models
evazion 853ddc7cda tag.rb: validate tag names.
Makes these tag names invalid when tagging posts:

* Blank names (e.g. ___).
* Non-ASCII characters (Japanese text).
* Non-printable characters (e.g. control characters < 0x20).
* Leading or trailing underscores, or consecutive underscores. Reason:
  `_foo__bar_` and `foo_bar` both render as `foo bar` in the tag list.
* Leading `-` or `~`, or '*' (-foo, ~foo, foo*bar). Previously
  these were silently stripped, but that meant tagging a post with e.g.
  `*-foo` tagged the post with the invalid tag `-foo`.
* Tag type prefixes (e.g. `character:character:hatsune_miku` no longer creates
  the literal tag `character:hatsune_miku`).
* Metatags (order:score, user:evazion, etc).
2017-02-08 23:30:23 -06:00
..
2014-04-16 17:43:34 -07:00
2014-04-16 17:43:34 -07:00
2017-02-07 17:26:16 -08:00
2017-01-03 15:04:47 -08:00
2016-02-22 17:02:15 -08:00
2015-08-18 17:40:53 -07:00
2014-04-16 17:43:34 -07:00
2017-01-03 15:04:47 -08:00
2014-04-16 17:43:34 -07:00
2017-01-03 15:04:47 -08:00
2017-01-25 12:48:47 -08:00
2016-09-25 14:56:19 -07:00
2017-01-03 15:04:47 -08:00
2017-01-03 15:04:47 -08:00
2017-02-08 23:30:23 -06:00
2017-01-17 15:46:21 -08:00
2015-08-18 17:40:53 -07:00