Cannot access commit page when commit title consists of a URL
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
When a commit message or at least the title line of a commit message consists solely of a URL then a click on the commit in the GUI will open that URL instead of the GUI page with the commit details.
Observed on self-hosted premium edition version 17.3.5.
Steps to reproduce
- Create a commit with a message that is a valid URL to some external web page.
- Try to access the Gitlab page with the commit details.
Example Project
https://gitlab.com/bjhend/commit-message-problem-example
What is the current bug behavior?
The URL in the commit message will be opened.
What is the expected correct behavior?
While opening the URL is useful in some cases it should not hide the commit details page entirely. The GUI should offer a choice to open either the URL or the commit page.
Relevant logs and/or screenshots
Possible fixes
Edited by 🤖 GitLab Bot 🤖