0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 08:06:49 -05:00
forgejo/modules/validation
zeripath e6b3be4608
Add more checks in migration code (#21011)
When migrating add several more important sanity checks:

* SHAs must be SHAs
* Refs must be valid Refs
* URLs must be reasonable

Signed-off-by: Andrew Thornton <art27@cantab.net>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
2022-09-04 13:47:56 +03:00
..
binding.go Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
binding_test.go
glob_pattern_test.go
helpers.go use IsLoopback (#19477) 2022-04-25 13:55:12 +08:00
helpers_test.go
refname_test.go
regex_pattern_test.go
validurl_test.go