sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
549 stars 76 forks source link

[BUG] trailing slash on IQ Server URL does not get handled #196

Closed ButterB0wl closed 3 years ago

ButterB0wl commented 3 years ago
$ go list -m all | ~/go/bin/nancy iq -a cobra -x https://iq.sonatype-se.com/
Error: An error occurred: Unable to communicate with Nexus IQ Server, err: Unable to communicate with Nexus IQ Server, status code returned is: 404

While this works: $ go list -m all | ~/go/bin/nancy iq -a cobra -x https://iq.sonatype-se.com

cc @bhamail / @DarthHater

bhamail commented 3 years ago

Fixed by https://github.com/sonatype-nexus-community/go-sona-types/pull/10