[Portland-bugs] [Bug 89902] xdg-open does not exit if it does not recognize the mimetype

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 6 05:40:34 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89902

Rex Dieter <rdieter at math.unl.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #4 from Rex Dieter <rdieter at math.unl.edu> ---
I think this should help:

--- /usr/bin/xdg-open.orig      2015-04-06 07:39:33.572166692 -0500
+++ /usr/bin/xdg-open   2015-04-06 07:36:27.569417647 -0500
@@ -707,7 +707,7 @@
         file_check=${file_check%%\?*}
         check_input_file "$file_check"

-        open_generic_xdg_file_mime "$file"
+        open_generic_xdg_file_mime "$file_check"

         if which run-mailcap 2>/dev/null 1>&2; then
             run-mailcap --action=view "$file"


Can you verify ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20150406/78eecc0e/attachment.html>


More information about the Portland-bugs mailing list