gitea/modules/validation
zeripath 3aba72c613
Add more checks in migration code (#21011) (#21050)
Backport #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>
2022-09-04 08:41:21 -05:00
..
binding_test.go Upgrade chi to v5 (#17298) 2021-10-13 22:50:23 -04:00
binding.go Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
glob_pattern_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
helpers_test.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
helpers.go use IsLoopback (#19477) 2022-04-25 13:55:12 +08:00
refname_test.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
regex_pattern_test.go Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
validurl_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00