<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rdieter@math.unl.edu" title="Rex Dieter <rdieter@math.unl.edu>"> <span class="fn">Rex Dieter</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - xdg-open does not exit if it does not recognize the mimetype"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89902">bug 89902</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - xdg-open does not exit if it does not recognize the mimetype"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89902#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - xdg-open does not exit if it does not recognize the mimetype"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89902">bug 89902</a>
              from <span class="vcard"><a class="email" href="mailto:rdieter@math.unl.edu" title="Rex Dieter <rdieter@math.unl.edu>"> <span class="fn">Rex Dieter</span></a>
</span></b>
        <pre>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 ?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>