This commit is contained in:
Michael Jerger 2024-03-22 07:52:03 +01:00
parent 7316108d56
commit 9ccad50b05
4 changed files with 7 additions and 0 deletions

View file

@ -157,6 +157,7 @@ func IsValidFederatedRepoURLList(urls string) bool {
return true
}
// TODO: use validateable/ValidateMaxLen instead !!
func IsOfValidLength(str string) bool {
return len(str) <= 2048
}