Closed adangel closed 1 year ago
I think we should probably remove the display name from TextFile and let renderers pick how they want to render the path name...
I've tested now a bit: Since 6.54.0 it doesn't work anymore. There we introduced the new --relative-with
param. Before, the paths were rendered always as absolute, now they are rendered as given. As the action only provides relative paths to analyze, now also only relative paths end up in the report.
The action has a special logic to relativize the paths in the report. And it apparently does two things: relativize the paths and convert any windows paths with backslashes into relative uri paths with forward slashes...
So, two things we can do: populate the filelist with absolute paths or have the action deal with relative paths and just convert into forward slashes... (that's what the github logic to display annotation is requiring...)
It seems, that issue #51 reappeared...
Log output:
That means, we use backslashes as path separators. That means, in the sarif.json file, there are no valid URIs anymore...
I think, these should be forward slashes....