diff options
author | zeripath <art27@cantab.net> | 2021-12-19 21:00:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-19 21:00:22 +0000 |
commit | 147e42239f22c155cb0935b9988742d5c70c31c7 (patch) | |
tree | 54b126a45dae21a3c0496d5fcf66cf2c69c12ef8 /modules/log/console_test.go | |
parent | 1c7db70835fa26bdfb5cde5fe81846998c19a5a6 (diff) | |
download | gitea-147e42239f22c155cb0935b9988742d5c70c31c7.tar.gz gitea-147e42239f22c155cb0935b9988742d5c70c31c7.zip |
Stop printing 03d after escaped characters in logs (#18030)
Strangely a weird bug was present in the log escaping code whereby any escaped
character would gain 03d - this was due to a mistake in the format string where
it should have read %03o but read instead %o03d. This has led to spurious 03d
trailing characters on these escaped characters!
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/log/console_test.go')
0 files changed, 0 insertions, 0 deletions