Skip to content

Conversation

@benjamingwynn
Copy link
Contributor

This handles bad UTF-8 bytes by replacing them with the � character, fixing git blame output parsing for files with invalid byte sequences.

This fixes #97

benjamingwynn and others added 4 commits July 9, 2025 17:35
This handles bad UTF-8 bytes by replacing them with the � character, fixing output parsing for files with invalid byte sequences.

This fixes microsoft#97
@debonte
Copy link
Contributor

debonte commented Jul 16, 2025

@benjamingwynn, can you accept the Contributor License Agreement? It's possible that you already did and me pushing changes to your branch somehow caused it to reset. If so, I'm sorry for the inconvenience.

I'm ready to merge this as soon as you accept the CLA, and I'm planning to ship a new release at that point.

@benjamingwynn
Copy link
Contributor Author

@microsoft-github-policy-service agree

@benjamingwynn
Copy link
Contributor Author

@debonte that should be taken care of on my end, thanks for the quick turnaround time for this PR and writing tests for it!

@debonte
Copy link
Contributor

debonte commented Jul 17, 2025

@benjamingwynn, thanks for the fix!

@debonte debonte merged commit 4511358 into microsoft:main Jul 17, 2025
4 checks passed
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.

sarif blame crashes with UnicodeDecodeError when it encounters invalid UTF-8

2 participants