Skip to content

Ensure proper validation for GIT url is performed for all requests

What does this MR do and why?

Related to #345705 (closed)

!72323 (merged) introduced url validation for GIT imports, but we were missing two pieces to make this validation always work:

  • it is possible to bypass validation by pasting URL and hitting Enter without blurring field
  • there is another form (importing repository when you create project without repository and after that initialize a repository inside project via import)

This MR addresses both these behaviors

Screenshots or screen recordings

New_Project___GitLab

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Illya Klymov

Merge request reports