Skip to content

Wrong redirection after add time to issue #14254

Closed
@maherma-adg

Description

@maherma-adg
  • Gitea version (or commit ref): 1.13.0 and previous
  • Git version: 2.17.1
  • Operating system: Linux - AMD binary from gitea site.
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No

Description

When I install gitea, I setup it on my local server (IP: 192.168.1.100) and it's working ok. But, I have configured a VPN when I'm roaming and I reach gitea server through a different IP (192.168.250.100).

VPN in Normal operation works OK, I can fetch/pull/push project without problem, and I can navigate and create/edit issues with the UI without problem.

The problem appear when I add time to an issue, after press approve button, I'm redirected to the issue page in the local IP not in the IP though VPN, this make to appear a 404 because I can't reach server through local IP.

The time added is registered and we go back and reload page to get the issue with time on screen.

Regards.
Manuel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionalitytype/refactoringExisting code has been cleaned up. There should be no new functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions