forgejo/modules/auth
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
..
ldap
oauth2
openid
pam
admin.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
auth.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
auth_form.go
org.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
repo_form.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
user_form.go Better URL validation (#1507) 2017-04-19 11:02:20 +08:00
user_form_auth_openid.go