You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all log files are download links, i.e. has ?format=raw in the URL. As this will start a download it might not be the best to return that. Instead to me it would make more sense to return the URL without query parameters and if needed you can add it to any clients utilizing the API.
Benefit
Less complexity, more freedom to handle links how we need to instead of formatting.
Importance
For dashboard, medium priority. There is a workaround that can be done which would be to parse the URL and remove the ?format=raw before displaying it.
What is the impacted category (job)?
Other
Workaround
There is an existing workaround that can be used until this feature is implemented.
Participation
I am willing to submit a pull request for this issue. (Packit team is happy to help!)
The text was updated successfully, but these errors were encountered:
Again, please go against OpenScanHub. Briefly checking the links that we have on dashboard, it might be just an issue of the HTTP server configuration, as without ?format=raw I get a full page with styles and everything. With ?format=raw it's just “raw” logs as the name suggests (though it might be handled by the server as a file to download rather than display).
Thought this was a Packit thing. Nonetheless, opened issue here openscanhub/openscanhub#304. If it changes in the future I would want to see if we can update the DB to all be https for the older entries
Description
Currently all log files are download links, i.e. has
?format=raw
in the URL. As this will start a download it might not be the best to return that. Instead to me it would make more sense to return the URL without query parameters and if needed you can add it to any clients utilizing the API.Benefit
Less complexity, more freedom to handle links how we need to instead of formatting.
Importance
For dashboard, medium priority. There is a workaround that can be done which would be to parse the URL and remove the
?format=raw
before displaying it.What is the impacted category (job)?
Other
Workaround
Participation
The text was updated successfully, but these errors were encountered: