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
net.go
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
truncate_test.go
url.go
util.go
util_test.go