Skip to content

Link to submodule hosted by the same server via ssh missing port/prefix #11002

@bwiethof

Description

@bwiethof
  • Gitea version (or commit ref): 1.10.0
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

If a submodule is hosted by the same server as the parent repository and is linked via ssh, the link is missing the prefix/port.
In case of http linking, the created link is valid.

The screenshots showing the link for http in the left corner. With ssh the port/prefix is missing.

Screenshots

http
ssh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions