0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:41:44 +01:00
gitea/modules/validation
mrsdizzie d056bf300f Clean up ref name rules (#6437)
* Clean up ref name rules

Clean up checks on reference names to better conform to the guideline
here: https://git-scm.com/docs/git-check-ref-format

This fixes half of #6321

* Update branch create integration test

According to: https://git-scm.com/docs/git-check-ref-format

And: git check-ref-format "master/feature=test1"

This is a valid branch name and we should not be testing for it to fail.
2019-03-26 21:59:48 +02:00
..
binding.go Clean up ref name rules (#6437) 2019-03-26 21:59:48 +02:00
binding_test.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
helpers.go Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00
helpers_test.go Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00
refname_test.go Clean up ref name rules (#6437) 2019-03-26 21:59:48 +02:00
validurl_test.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00