Skip to content
Commit 16a79042 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

flatpak: Fix warning of dupd identifiers in the url

We would get the following URL for VLC:
appstream://org.videolan.vlc?alt=org.videolan.vlc,vlc.desktop

This is because the appstream id is org.videolan.VLC but QUrl always
makes the host lowercase.
This changes to put the id in the path part of the URL so we can treat
them separately in AppStreamUtils::appstreamIds, which is the
centralised place we have to extract ids in Discover. Now the URL we
generate will be:
appstream:org.videolan.VLC?alt=org.videolan.vlc,vlc.desktop
parent f363cdc0
Pipeline #335886 passed with stage
in 1 minute and 55 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment