mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-26 10:07:34 -05:00
Tags could be of any length. Assigning tags through the graph API now rejects the whole request with 400 if one of the tags is longer than the maximum, listing the tags that are too long. The length is counted in characters, after the whitespace around each tag is removed. Tags that already exist are not affected. The maximum is 100 characters by default, and can be changed with OC_MAX_TAG_LENGTH, or turned off with 0. The frontend service announces it to clients as the graph.tags.max_tag_length capability, so that they can check tags before sending them. Both services read the same variable, without a service-specific alias, so that the announced limit is always the one graph enforces. Assisted-by: Claude Code:claude-opus-5-5