Skip to content

Wiki repo mixed up with main repo #35807

@velezh

Description

@velezh

Description

After updating to 1.25.0 we noticed commits from wiki repo appeared in main repo. Meanwhile that commits did not appeared in wiki repo. These commits was pushed to main repo successfully bypassing security settings in main repo: user had no rights to push to master.

After quick research we got this steps to reproduce issue:
Create empty repo, clone, add files, push.
Create wiki page
Clone wiki repo

Got main repo contents cloned as wiki repo

Gitea Version

1.25.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

selfhosted

Database

None

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