0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 00:54:51 +01:00
gitea/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
path_test.go
remove.go
sanitize.go
sanitize_test.go
shellquote.go
shellquote_test.go
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
util_test.go