Clicking the "edit" icon on a README.md file in a subdirectory , edits the parent repository README.md, not the file we actually want to edit. #14615

Closed
opened 2025-11-02 11:17:41 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @wyattoday on GitHub (Jun 17, 2025).

Description

Clicking the "edit" icon on a README.md file in a subdirectory , edits the parent repository README.md, not the file we actually want to edit.

For example here:

https://gitea.com/wyattoday/test-repo

Click the "subdir" to end up here: https://gitea.com/wyattoday/test-repo/src/branch/main/subdir

Then click the little "Edit" pencil above the README.md file and it will begin editing the main respository readme, not the README in that subdirectory.

Gitea Version

ee334886f3

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?

using https://demo.gitea.com

Database

None

Originally created by @wyattoday on GitHub (Jun 17, 2025). ### Description Clicking the "edit" icon on a README.md file in a subdirectory , edits the parent repository README.md, not the file we actually want to edit. For example here: https://gitea.com/wyattoday/test-repo Click the "subdir" to end up here: https://gitea.com/wyattoday/test-repo/src/branch/main/subdir Then click the little "Edit" pencil above the README.md file and it will begin editing the main respository readme, not the README in that subdirectory. ### Gitea Version ee334886f31a664812b2a699f0be70753db944db ### 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? using https://demo.gitea.com ### Database None
GiteaMirror added the type/bug label 2025-11-02 11:17:41 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 18, 2025):

-> Fix readme path and markdown link paste #34755

@wxiaoguang commented on GitHub (Jun 18, 2025): -> Fix readme path and markdown link paste #34755
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14615