runner/internal/app/cmd
hakito 0d5eb12574
Sanitize UFT-8 content in logs (#453)
I accidently closed my previous PR #384

This PR replaces invalid UTF-8 character in a stream with `?` character. On Windows Server 2019 other characters are replaced by `?` as well so it's consistent.

fixes #452

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/453
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: hakito <hakito@noreply.gitea.com>
Co-committed-by: hakito <hakito@noreply.gitea.com>
(cherry picked from commit daf52d0e628d2d57b9f50a2556e404a3f05c34aa)
2024-03-11 22:10:26 +07:00
..
cache-server.go Run as cache server (#275) 2023-07-07 08:28:54 +00:00
cmd.go [FORGEJO] add the create-runner-file 2023-08-23 16:03:12 +02:00
create-runner-file.go [FORGEJO] add the create-runner-file 2023-08-23 16:03:12 +02:00
create-runner-file_test.go [FORGEJO] add the create-runner-file 2023-08-23 16:03:12 +02:00
daemon.go Increase fetch interval for Codeberg 2024-01-21 23:03:23 +01:00
exec.go Sanitize UFT-8 content in logs (#453) 2024-03-11 22:10:26 +07:00
register.go [FORGEJO] default labels to a single docker 2023-08-23 16:03:12 +02:00