mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-10 09:57:34 -04:00
We fully parse the argument as (possibly) a uri, which means
we can handle an argument like:
https://git.gnome.org/browse/gnome-apps-nightly/plain/gnome-builder.flatpakref?h=stable
Which doesn't work with a simple has_suffix call.
This is important because the flatpak.org site now references
these kinds of uris.
Fixes https://github.com/flatpak/flatpak/issues/659
(cherry picked from commit 0dcc7332f7)