Using random port (not http:80 or https:443), there is a bug when I get into 'merge request page'.

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

Summary

When I click 1 specific merge request, URL doesn't have port number so I got a connection timed out error.

Steps to reproduce

If you use port like 40080 for gitlab, you can find this bug.

Example Project

I don't have any example project because I only have my project locally.

What is the current bug behavior?

Using custom port, can't access to merge request URL. ex) http://dev.abc.com:40080 is my gitlab endpoint, the port number is detached when I clicked 1 specific merge request. so i got http://dev.abc.com -> connection timed out error.

What is the expected correct behavior?

It has to be http://dev.abc.com:40080/common/sample/-/merge_requests/?sort=created_date&state=merged&first_page_size=20

Relevant logs and/or screenshots

Results of GitLab environment info

my version info GitLab versionv17.9.1 GitLab Shell14.40.0 GitLab Workhorsev17.9.1 GitLab APIv4 GitLab KASv17.9.1 v17.9.1 Ruby3.2.5p208 Rails7.0.8.7 PostgreSQL (main)14.15 PostgreSQL (ci)14.15 Redis7.0.15

and i am using docker image gitlab/gitlab-ce:latest

Hope this can help your work. Thanks.

Edited by 🤖 GitLab Bot 🤖