From e8c09282d9f368ada83d38b6785c39cd7ac8951d Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 1 Aug 2021 21:25:51 +0200 Subject: [PATCH] Update ubuntu.go (#1279) URI correction for ubuntu; see gost project: https://github.com/knqyf263/gost/blob/master/server/server.go#L48 --- gost/ubuntu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gost/ubuntu.go b/gost/ubuntu.go index 48387cf0..d36dc7da 100644 --- a/gost/ubuntu.go +++ b/gost/ubuntu.go @@ -53,7 +53,7 @@ func (ubu Ubuntu) DetectCVEs(r *models.ScanResult, _ bool) (nCVEs int, err error packCvesList := []packCves{} if ubu.DBDriver.Cnf.IsFetchViaHTTP() { - url, _ := util.URLPathJoin(ubu.DBDriver.Cnf.GetURL(), "ubuntu", ubuReleaseVer, "pkg") + url, _ := util.URLPathJoin(ubu.DBDriver.Cnf.GetURL(), "ubuntu", ubuReleaseVer, "pkgs") responses, err := getAllUnfixedCvesViaHTTP(r, url) if err != nil { return 0, err