Python's file read function converts OS specific line endings to \n in the source code, and back to their equivalent when being written out. This results in a faulty payload submission to the API, where \n is given, but \r\n would be expected.
This bug does not affect the analysis quality. However, it can result in wrong source lines being counted (as a single character is stripped off).
Description
Python's file
read
function converts OS specific line endings to\n
in the source code, and back to their equivalent when being written out. This results in a faulty payload submission to the API, where\n
is given, but\r\n
would be expected.This bug does not affect the analysis quality. However, it can result in wrong source lines being counted (as a single character is stripped off).