Skip to content

Mirroring repositories: paste Git repository URL with a middle click does not display Detect host keys and Input host keys manually buttons

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

No Detect host keys and Input host keys manually buttons appears when I cut & paste with a middle click a ssh:// URL in Git repository URL.

If I hit a key, then the buttons appears.

A cut & paste with Control + v works.

It looks like the buttons only appears on keystrokes and not content changing.

Steps to reproduce

  1. Create a project
  2. Got to SettingsRepository
  3. Expand Mirroring repositories
  4. Cut the following text ssh://git@github.com/gitlabhq/gitlabhq.git
  5. Click with the middle button of your mouse in Git repository URL input box

Example Project

What is the current bug behavior?

The Detect host keys and Input host keys manually buttons are not displayed when I cut & paste with a middle click an URL.

What is the expected correct behavior?

The Detect host keys and Input host keys manually buttons should be displayed when I cut & paste with a middle click an URL.

Relevant logs and/or screenshots

GitLab does no display the buttons after pasting with middle click

gitlab-no-buttons.png

When I hit the a key the buttons appears

gitlab-buttons-after-keystroke.png

Output of checks

This bug happens on GitLab.com.

Possible fixes

Edited by 🤖 GitLab Bot 🤖