mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 09:21:13 -05:00
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)"`
|
Description string `binding:"MaxSize(2048)"`
|
||||||
Website string `binding:"ValidUrl;MaxSize(1024)"`
|
Website string `binding:"ValidUrl;MaxSize(1024)"`
|
||||||
// ToDo: Do we need validation at this point?
|
// ToDo: Do we need validation at this point?
|
||||||
FederationRepos string
|
FederationRepos string `binding:"ValidUrl;MaxSize(1024)"`
|
||||||
Interval string
|
Interval string
|
||||||
MirrorAddress string
|
MirrorAddress string
|
||||||
MirrorUsername string
|
MirrorUsername string
|
||||||
|
|
Loading…
Reference in a new issue