Validate Federated Repos Field
Considering this from a POC perspective we might want to avoid misuse of this field. In other words, we want this field to be used as intended.
This commit is contained in:
parent
584af0486d
commit
1cbd5e33cb
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ type RepoSettingForm struct {
|
|||
Description string `binding:"MaxSize(2048)"`
|
||||
Website string `binding:"ValidUrl;MaxSize(1024)"`
|
||||
// ToDo: Do we need validation at this point?
|
||||
FederationRepos string
|
||||
FederationRepos string `binding:"ValidUrl;MaxSize(1024)"`
|
||||
Interval string
|
||||
MirrorAddress string
|
||||
MirrorUsername string
|
||||
|
|
Loading…
Reference in a new issue