1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-31 23:51:14 +03: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_test.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
binding.go Clean up ref name rules (#6437) 2019-03-26 21:59:48 +02:00
helpers_test.go Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00
helpers.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