This website requires JavaScript.
Explore
Help
Sign In
pub-solar
/
forgejo
Watch
5
Star
0
Fork
You've already forked forgejo
0
Code
Issues
Pull requests
Packages
Projects
Releases
Wiki
Activity
fb2795b5bb
forgejo
/
tests
/
gitea-repositories-meta
/
user2
/
repo1.git
/
refs
/
heads
/
home-md-img-check
2 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Use correct README link to render the README (#23152) `renderReadmeFile` needs `readmeTreelink` as parameter but gets `treeLink`. The values of them look like as following: `treeLink`: `/{OwnerName}/{RepoName}/src/branch/{BranchName}` `readmeTreelink`: `/{OwnerName}/{RepoName}/src/branch/{BranchName}/{ReadmeFileName}` `path.Dir` in https://github.com/go-gitea/gitea/blob/8540fc45b11eff9a73753ca139f8ea5c38509bf5/routers/web/repo/view.go#L316 should convert `readmeTreelink` into `/{OwnerName}/{RepoName}/src/branch/{BranchName}` instead of the current `/{OwnerName}/{RepoName}/src/branch`. Fixes #23151 --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
2023-03-03 10:01:33 +00:00
78fb907e3a3309eae4fe8fef030874cebbf1cd5e
Reference in a new issue
Copy permalink