Skip to content

README symlinks aren't properly followed in .gitea / .github / docs folders #36774

@jimparis

Description

@jimparis

Description

With this directory structure in the repo:

subdir/README.md
.github/README.md -> ../subdir/README.md

Gitea doesn't find and display the README when browsing the repository root.

Gitea Version

1.25.4 and master

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Release build

Database

None

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