You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/user
yp05327 22a39bb961
Fix profile render when the README.md size is larger than 1024 bytes (#25131)
Fixes https://github.com/go-gitea/gitea/issues/25094

`GetBlobContent` will only get the first 1024 bytes, if the README.md
size is larger than 1024 bytes,
We can not render the rest of them.
After this fix, we should provide the limited size to read when call
`GetBlobContent`.

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/22a42936-4cf8-40b4-a5c7-e384082beb0d)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
setting Clean up WebAuthn javascript code and remove JQuery code (#22697) 2 years ago
avatar.go Set `X-Gitea-Debug` header once (#23361) 2 years ago
code.go Add missing tabs to org projects page (#22705) 2 years ago
home.go Some refactors for issues stats (#24793) 2 years ago
home_test.go Add a simple test for external renderer (#20033) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notification.go Fix pagination on `/notifications/watching` (#23564) 2 years ago
package.go Add Alpine package registry (#23714) 2 years ago
profile.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2 years ago
search.go Add option to search for users is active join a team (#24093) 2 years ago
stop_watch.go Move `convert` package to services (#22264) 2 years ago
task.go Implement FSFE REUSE for golang files (#21840) 2 years ago