Files
flatpak/tests
Matthew Leeds 88f3ebcb3a dir: Ignore trailing slash in remote URIs
Currently if you have a remote configured with the URL
"https://dl.flathub.org/repo/" (as you would if you use the flatpakrepo
file) and you use a flatpakref file which specifies the URL
"https://dl.flathub.org/repo", Flatpak tries to add a duplicate remote
because it doesn't see those URLs as equal. So ignore the trailing slash
when comparing remote URLs. OSTree works equally well with both kinds
(it uses g_build_filename()).

Flathub served flatpakref files with URLs missing a trailing slash until
this commit:
https://github.com/flathub/ansible-playbook/commit/b20694f09

Also, add a unit test that fails without this patch.

Fixes https://github.com/flatpak/flatpak/issues/2979

Closes: #3065
Approved by: alexlarsson

(cherry picked from commit 866ba643d2)

Closes: #3115
Approved by: alexlarsson
2019-09-19 09:48:54 +00:00
..
2016-02-25 15:27:37 +01:00
2019-01-15 16:02:34 +01:00
2019-01-15 16:02:34 +01:00
2016-02-25 19:03:09 +01:00
2019-01-11 19:19:54 -05:00
2018-10-15 06:51:58 +00:00
2019-01-14 11:10:17 +00:00
2018-10-03 13:19:35 +00:00
2019-01-11 13:31:10 +00:00
2018-12-03 20:38:39 +00:00