Skip to content

Redirect to //README.md when clicking edit from repo home #34188

Closed
@SpeedyCraftah

Description

@SpeedyCraftah

Description

I'm not sure if this was reported or fixed already, or if this is expected behavior, but I am running the latest Docker rootless Gitea at the time of writing (1.23.6 built with GNU Make 4.4.1, go1.23.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify), and when I click to edit the README.md from the repo home page, it redirects me to _edit/master//README.md instead of _edit/master/README.md like it would when pressing the edit button inside of the README file, I believe this caused me issues in earlier Gitea versions where my changes wouldn't save properly, but it looks like this doesn't happen anymore in the latest version. This happens on different repositories.

Happy to try and submit a PR on my own if needed, I want to confirm whether this is an actual bug or not first.

Gitea Version

1.23.6

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

From repo home page (with the issue):
Image

From README file context:
Image

Git Version

No response

Operating System

No response

How are you running Gitea?

Self hosted rootless container using Podman

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions