0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 22:14:39 +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_test.go
paginate.go
path_test.go
path.go
remove.go
sanitize_test.go
sanitize.go
shellquote_test.go
shellquote.go
timer.go
truncate_test.go Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928) 2021-12-09 05:41:17 +00:00
truncate.go Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928) 2021-12-09 05:41:17 +00:00
url.go
util_test.go
util.go