mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
tagKeyListType members are tagKeyType, so the 1-128 length and the tag character pattern apply to TagKeys on every untag action, not only to the keys sent when tagging. extractTagKeys only checked the count, so an untag with an empty, overlong or malformed key succeeded. The key checks now live in one helper shared by extractTags and extractTagKeys, and a rejected untag removes nothing.