Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate repository link in New Repository dialogue not using subdir from Base URL #15444

Closed
2 of 6 tasks
dugite-code opened this issue Apr 13, 2021 · 0 comments · Fixed by #15446
Closed
2 of 6 tasks
Labels

Comments

@dugite-code
Copy link

dugite-code commented Apr 13, 2021

  • Gitea version (or commit ref): 1.15.0+dev-65-g0bb8bd819 built with GNU Make 4.3, go1.16.3 : bindata, timetzdata, sqlite, sqlite_unlock_notify
  • Git version:
  • Operating system: docker Linux (Debian)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

Setting the base url to a subdir e.g. https://example.tld/git/ (tested in docker) then selecting create new repository it shows a link for migrations. This link points to the relative path /repo/migrate resolving to https://example.tld/repo/migrate instead of the correct https://example.tld/git/repo/migrate

Screenshots

image
image

@lunny lunny added the type/bug label Apr 13, 2021
zeripath pushed a commit that referenced this issue Apr 14, 2021
zeripath pushed a commit to zeripath/gitea that referenced this issue Apr 15, 2021
lafriks pushed a commit that referenced this issue Apr 15, 2021
Backport #15446

Fixes #15444

Co-authored-by: KN4CK3R <[email protected]>

Co-authored-by: KN4CK3R <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Jun 4, 2021
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants