summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Discussions.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-09-17 16:51:01 +0200
committerYorhel <git@yorhel.nl>2015-09-17 16:53:43 +0200
commite603d905e48762014bbb8fa735dd918dd83e1942 (patch)
tree024870bbd691440cc625c590777dbe9491e5c396 /lib/VNDB/Handler/Discussions.pm
parenta8ece1d324bbbbb675224af97cf5dcb15580d577 (diff)
Handler::VNEdit: Use json_validate() for the VN staff/cast data
This (only very slightly) simplified further processing of the data. It does add more validation than was present: Previously it was possible to send invalid roles (would give a 500) or invalid numeric IDs (would throw some perl warnings). These issues are now handled earlier on. This change also puts a maximum length on the notes field, but nobody has passed the 300 characters so far.
Diffstat (limited to 'lib/VNDB/Handler/Discussions.pm')
0 files changed, 0 insertions, 0 deletions