You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get internal content to display in VS code and the code that prepares the artifact locations does not align with the code that consumes the artifact location.
Notice that Line 194 refers to links as sarif:// and Line 198 refers to them as sarif:. This causes the consuming code to not recognize internal references (which are required to be sarif://):
Debugging this myself, I altered Line 117 in uriRebaser.ts to check just for sarif:. I am not sure if this is the correct fix, but I was able to embed content and have it work.
The text was updated successfully, but these errors were encountered:
I'm trying to get internal content to display in VS code and the code that prepares the artifact locations does not align with the code that consumes the artifact location.
sarif-vscode-extension/src/shared/index.ts
Lines 193 to 200 in a1740e7
Notice that Line 194 refers to links as
sarif://
and Line 198 refers to them assarif:
. This causes the consuming code to not recognize internal references (which are required to besarif://
):sarif-vscode-extension/src/extension/uriRebaser.ts
Lines 116 to 117 in a1740e7
The Virtual Document handler expects the links to be
sarif:
otherwise the extra forward slashes break the link parsing.sarif-vscode-extension/src/extension/index.ts
Lines 276 to 278 in a1740e7
Debugging this myself, I altered Line 117 in uriRebaser.ts to check just for
sarif:
. I am not sure if this is the correct fix, but I was able to embed content and have it work.The text was updated successfully, but these errors were encountered: