0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-08 05:02:49 +01:00
gitea/services
Giteabot b3bc79262d
Add validation constraints for repository creation fields (#36671) (#36757)
Backport #36671 by @lunny

Adds validation constraints to repository creation inputs, enforcing
max-length limits for labels/license/readme and enum validation for
trust model and object format. Updates both the API option struct and
the web form struct to keep validation consistent.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2026-02-25 20:43:00 +00:00
..
2025-07-20 01:49:36 +00:00