OpenScanHub response URLs are not in https
What happened? What is the problem?
Checking the API we get http:// links to OSH instead of https://
What did you expect to happen?
Since OSH redirects anyway it should be https by default
Example URL(s)
See here for links to openscanhub.fedoraproject.org https://stg.packit.dev/api/osh-scans?page=1
Steps to reproduce
1.
2.
3.
What is the impacted category (job)?
Other
Workaround
- [X] There is an existing workaround that can be used until this issue is fixed.
Participation
- [ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)
Depends on openscanhub/fedora-infra#73
Those are the links that we get from the OSH. I don't like this resolving of a problem of different service on our side (we're kinda doing that with Bodhi already…), it's just unnecessary complexity (as if there wasn't enough complexity already…) for Packit.
Please open up an issue against the OpenScanHub, they're open-source project after all…
Opened https://github.com/openscanhub/openscanhub/issues/305 to track, if updated we could update packit DB to make it consistent :pray: