[Github-comments] [geany/geany] Towards gvfs-fuse independence (#963)

Jiří Techet notifications at xxxxx
Tue Feb 28 12:12:29 UTC 2017


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/963#discussion_r103440052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170228/4a9df393/attachment.html>


More information about the Github-comments mailing list