Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop printing 03d after escaped characters in logs (#18030) #18034

Merged
merged 1 commit into from
Dec 19, 2021

Commits on Dec 19, 2021

  1. Stop printing 03d after escaped characters in logs (go-gitea#18030)

    Backport go-gitea#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 <[email protected]>
    zeripath committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    907cdff View commit details
    Browse the repository at this point in the history