Files
gitlabhq/app/models
Dmitriy Zaporozhets c413a5507d Merge branch 'validate_token_and_url_format_for_gitlab_ci' into 'master'
Validate format of project_url and token for GitLab CI service.

If `project_url` and `token` for are invalid, [service_hook creation](https://gitlab.com/gitlab-org/gitlab-ce/blob/7-13-stable/app/models/project_services/gitlab_ci_service.rb#L30-34) will silently fail due to validation of URL in `WebHook`.

Given that token is a sequence of numbers and letters for GitLab CI making sure that there are no unexpected characters should be enough to prevent service_hook being nil. 

Fixes #1997 

See merge request !987
2015-07-17 16:25:03 +00:00
..
2015-05-21 23:48:16 -04:00
2015-05-03 13:38:27 -07:00
2011-10-09 00:36:38 +03:00
2015-05-03 13:38:27 -07:00
2015-04-03 12:28:47 +02:00
2015-07-02 21:28:31 +09:00
2015-06-03 16:15:58 +02:00
2014-08-25 12:25:02 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-07-17 15:22:56 +02:00
2015-05-03 13:38:27 -07:00
2015-06-20 01:06:57 +02:00
2015-03-16 21:38:41 +02:00
2015-05-18 22:51:56 +02:00
2014-08-25 12:25:02 +03:00