Skip to content

gs-appstream: implement parsing media_baseurl

This property was not documented for XML data until quite recently: https://github.com/ximion/appstream/pull/371

However, remote icons and screenshots generated with appstream-generator only contain urls relative to media_baseurl property. Parse it correctly for those objects to be downloadable.

Seems like debian-based distros which use YAML format are not affected, as the transformation from YAML to XML fixes the relative urls. This MR should not break this behavior, as valid URLs are not touched.

Merge request reports