This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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.go Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05: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