[okular] [Bug 378449] Fall back to PDF when file type cannot be inferred from extension

Damian Nowak bugzilla_noreply at kde.org
Thu Apr 13 23:33:39 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=378449

--- Comment #7 from Damian Nowak <oferty at nowaker.net> ---
nowaker at nwkr-laptop ~ % mv /tmp/test.pdf /tmp/test.aspx
nowaker at nwkr-laptop ~ % okular /tmp/test.aspx
org.kde.okular.core: No plugin for mimetype
'"application/x-wine-extension-aspx"'. <--- !!! IMPORTANT
(SNIPPED)
nowaker at nwkr-laptop ~ % mv /tmp/test.aspx /tmp/test.whatever
nowaker at nwkr-laptop ~ % okular /tmp/test.whatever
(SNIPPED - but works fine)

Console output definitely suggests Okular is looking at MIME type first. If
it's a crazy MIME type like application/x-wine-extension-aspx, it won't try to
open it as PDF. I can reproducible the problem on any PDF file I have on disk
that I rename to *.aspx.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list