Skip to content

Submodule with custom ssh port shows incorrect link in Web UI #1526

Closed
@mmozeiko

Description

@mmozeiko

I created repository A and B. In repository A I created submodule pointing to repository B with using ssh://gitea@DOMAIN:3333/test/B.git url. As you can see I am running gitea ssh service on custom port.

Now when I browse in web interface repository A I see link to repository B. This link points to https://DOMAIN/3333/test/B. Instead it should be https://DOMAIN/test/B. Having ssh port number 3333 in URL opens 404 page.

I'm using gitea 1.1.0 with git 2.12.2 on ArchLinux. Gitea is using SQLite database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions