konveyor / tackle2-addon-analyzer

Apache License 2.0
0 stars 12 forks source link

:bug: : Handle incident URI with custom schemes. #41

Closed jortel closed 1 year ago

jortel commented 1 year ago

Fixes blank Incident.File. The analyzer creates URIs with custom schemes which is not compatible with the Go uri package which only supports (file,http,https). Using the url package to parse instead is safe because the uri package uses the url internally anyway. Fall back on raw URI string on parsing error.