mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
uri: fix behaviour for merging uris ending in .. without following /
https://bugzilla.gnome.org/show_bug.cgi?id=757065
This commit is contained in:
parent
c385042483
commit
365f2a130f
1 changed files with 6 additions and 1 deletions
|
@ -1238,7 +1238,12 @@ _remove_dot_segments (GList * path)
|
|||
out = g_list_delete_link (out, prev);
|
||||
}
|
||||
g_free (elem->data);
|
||||
out = g_list_delete_link (out, elem);
|
||||
if (next != NULL) {
|
||||
out = g_list_delete_link (out, elem);
|
||||
} else {
|
||||
/* path ends in '/..' We need to keep the last '/' */
|
||||
elem->data = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue