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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 4 05:47:29 PDT 2015


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

            Bug ID: 89902
           Summary: xdg-open does not exit if it does not recognize the
                    mimetype
           Product: Portland
           Version: 1.1.0 rc3
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: despair.blue at gmail.com

How to reproduce:

```
$ touch index.html
$ xdg-open index.html#test
xdg-mime: file 'index.html#test' does not exist
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
Could not determine mimetype for file: index.html#test
```

The process simply never returns, which breaks any app that calls xdg-open
synchronously (like github atom).

Version: xdg-open 1.1.0 rc3

-- 
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/20150404/20e20279/attachment.html>


More information about the Portland-bugs mailing list