gitea/cmd
Lauris BH f42ec6120e Better URL validation (#1507)
* 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
2017-04-19 11:02:20 +08:00
..
admin.go refactor: show command help message. (#1486) 2017-04-12 15:44:54 +08:00
cert.go Cleanup log messaging 2017-02-02 15:24:18 +01:00
dump.go refactor: show command help message. (#1486) 2017-04-12 15:44:54 +08:00
hook.go Comment force push detect to fix bug #1073 (#1077) 2017-03-01 23:01:03 +08:00
serv.go refactor: show command help message. (#1486) 2017-04-12 15:44:54 +08:00
web_graceful.go refactor: show command help message. (#1486) 2017-04-12 15:44:54 +08:00
web_windows.go fix windows build broken by #416 2016-12-31 17:16:02 +08:00
web.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00