Details
return err == nil && (u.Scheme == "http" || u.Scheme == "https") && u.Hostname() != ""
}
This fix should mitigate the reported SSRF. return err == nil && (u.Scheme == "http" || u.Scheme == "https") && u.Hostname() != ""
}
This fix should mitigate the reported SSRF.