forgejo/modules/util
Giteabot 669c76c0fd
Fix cases.Title crash for concurrency (#23885) (#23903)
Backport #23885 by @wxiaoguang

Regression of #19676 and #21814

Fix #23872

`cases.Title` is not thread-safe, it has internal state, so it can't be
used as a global shared variable.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-04-04 01:26:14 +02:00
..
filebuffer
error.go
file_unix.go
file_unix_test.go
file_windows.go
io.go Improve checkIfPRContentChanged (#22611) 2023-01-28 15:54:40 +00:00
keypair.go Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
keypair_test.go Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
legacy.go
legacy_test.go
pack.go Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
pack_test.go Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
paginate.go
paginate_test.go
path.go Introduce path Clean/Join helper functions, partially backport&refactor (#23495) (#23607) 2023-03-22 19:56:20 +08:00
path_test.go Introduce path Clean/Join helper functions, partially backport&refactor (#23495) (#23607) 2023-03-22 19:56:20 +08:00
remove.go
sanitize.go
sanitize_test.go
sec_to_time.go
sec_to_time_test.go
shellquote.go
shellquote_test.go
slice.go
slice_test.go
string.go
string_test.go
timer.go
truncate.go
truncate_test.go
url.go
util.go Fix cases.Title crash for concurrency (#23885) (#23903) 2023-04-04 01:26:14 +02:00
util_test.go