open_generic_xdg_mime() doesn't handle filenames with spaces because the file name isn't quoted when calling the program to open the file name. Patch attached showing what's wrong.
Created attachment 35693 [details] Patch
*** This bug has been marked as a duplicate of bug 27959 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.