GNOME Bugzilla – Bug 732914
g_file_new_for_commandline_arg does not allow local files which look like uri's
Last modified: 2014-07-08 19:18:34 UTC
I happen to have a file which contains colons in the filename, specifically I have: namespace::A.xml. Unfortunately, namespace is being matched as an URI scheme by g_file_new_for_commandline_arg. This means that if I do 'gedit namespace::A.xml' on the commandline, gedit refuses to open the file. Could this be considered a bug? One possible fix for this would be to check if the parsed scheme is actually supported, and if not, fall back to assuming it's a local file path?
*** This bug has been marked as a duplicate of bug 676626 ***