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

Fix log commit hash newline #9897

Merged
merged 2 commits into from
Nov 30, 2021
Merged

Fix log commit hash newline #9897

merged 2 commits into from
Nov 30, 2021

Conversation

amadeo-alex
Copy link
Contributor

Hello,

This simple change removes \r & \n characters from the commit hash. I don't know how they ended there but this makes sure that even if they do, they are removed before logging.
Before the change:
obraz
After the change:
obraz

This would cause some syslog servers freak out and treat all logs as one message.
Submitting third time (the charm) due to my mistakes.
Possible relation to #9872

@Koenkk
Copy link
Owner

Koenkk commented Nov 29, 2021

LGTM, I see it is draft, can I merge this?

@sonarcloud
Copy link

sonarcloud bot commented Nov 29, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@amadeo-alex amadeo-alex marked this pull request as ready for review November 29, 2021 18:44
@amadeo-alex
Copy link
Contributor Author

amadeo-alex commented Nov 29, 2021

LGTM, I see it is draft, can I merge this?

Yes please, forgot to press the button ;)

@nurikk nurikk merged commit df182be into Koenkk:dev Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants