Skip to content

go get for modules in subdirs broken since 1.14.x #15625

Closed
@42wim

Description

@42wim
  • Gitea version (or commit ref): 1.14.1
  • 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

Running go get on modules where the go.mod is in a subdir instead of the root eg http://gitea/owner/repo/subdir?go-get=1 will now always return a 404 which makes go get fail.

On gitea 1.13 a 200 OK was returned

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions