Skip to content

Validate format of project_url and token for GitLab CI service.

If project_url and token for are invalid, service_hook creation 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 (closed)

Merge request reports