mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
tests: make sure non-ASCII chars in filenames are escaped when creating URIs from them
https://bugzilla.gnome.org/show_bug.cgi?id=654673
This commit is contained in:
parent
59441b36b6
commit
5164d5b5bf
1 changed files with 3 additions and 0 deletions
|
@ -437,6 +437,9 @@ GST_START_TEST (test_uri_query)
|
|||
check_uri_for_location (src, "./foo", NULL);
|
||||
check_uri_for_location (src, "../foo", NULL);
|
||||
check_uri_for_location (src, "foo/./bar", NULL);
|
||||
/* make sure non-ASCII characters are escaped properly (U+00F6 here) */
|
||||
check_uri_for_location (src, "/i/./d\303\266/not/../exist",
|
||||
"file:///i/d%C3%B6/exist");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue