techee commented on this pull request.
@@ -1788,6 +1788,9 @@ void utils_tidy_path(gchar *filename)
const gchar *needle; gboolean preserve_double_backslash = FALSE;
+ if (utils_is_uri(filename)) + return;
Omitting "//" for URI is rather crazy and I don't expect operating systems or applications will ever pass uris this way. GTK for instance always returns "file://" when opening files and asking for URI. IMO the "//"-less case can be safely ignored.