0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 01:14:10 -05:00
forgejo/modules/util
wxiaoguang c7e23401a3
Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928)
* Fix a panic in NotifyCreateIssueComment (caused by string truncation)

* more unit tests

* refactor

* fix some edge cases

* use SplitStringAtByteN for comment content
2021-12-09 05:41:17 +00:00
..
compare.go
copy.go
io.go Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
net.go Only allow webhook to send requests to allowed hosts (#17482) 2021-11-01 16:39:52 +08:00
paginate.go
paginate_test.go
path.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
path_test.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
remove.go Make cancel from CatFileBatch and CatFileBatchCheck wait for the command to end (#16479) 2021-07-20 20:23:01 +03:00
sanitize.go Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
sanitize_test.go Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
shellquote.go
shellquote_test.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
timer.go
truncate.go Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928) 2021-12-09 05:41:17 +00:00
truncate_test.go Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928) 2021-12-09 05:41:17 +00:00
url.go
util.go Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
util_test.go Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00