gitea/modules/validation
Lauris BH f42ec6120e Better URL validation ()
* Add correct git branch name validation

* Change git refname validation error constant name

* Implement URL validation based on GoLang url.Parse method

* Backward compatibility with older Go compiler

* Add git reference name validation unit tests

* Remove unused variable in unit test

* Implement URL validation based on GoLang url.Parse method

* Backward compatibility with older Go compiler

* Add url validation unit tests
..
binding.go Better URL validation ()
binding_test.go Better URL validation ()
refname_test.go Better URL validation ()
validurl_test.go Better URL validation ()