microsoft / sarif-vscode-extension

SARIF Microsoft Visual Studio Code extension
MIT License
107 stars 48 forks source link

Fix AdvSec URL extraction #518

Closed EasyRhinoMSFT closed 11 months ago

EasyRhinoMSFT commented 11 months ago

decodeURIComponent doesn't handle the url param correctly. It drops all but the first param because it thinks the ampersands are part of the parent query string. So this change just splits on the param name we expect and uses the whole value as the AdvSec target API.