Skip to content

ci-license-scan: A control char is gibberish enough

Assume that any string containing a control character is gibberish.

Rely on the unicodedata module to know which character is a control character and what is not.

This addresses some bad interactions with control characters ending up in the diff output, like u+0098 aka Start-Of-String (SOS) preventing the output to be displayed on terminal emulators like xterm.

Merge request reports