gitea/modules/validation
zeripath e6b3be4608
Add more checks in migration code ()
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>
..
binding.go Add more checks in migration code ()
binding_test.go Upgrade chi to v5 ()
glob_pattern_test.go Move macaron to chi ()
helpers.go use IsLoopback ()
helpers_test.go Fix various documentation, user-facing, and source comment typos ()
refname_test.go Fix various documentation, user-facing, and source comment typos ()
regex_pattern_test.go Add tag protection ()
validurl_test.go Move macaron to chi ()