Opened 4 years ago
Last modified 4 years ago
#28 new task
File extension discovery
Reported by: | Silvio Rhatto | Owned by: | Silvio Rhatto |
---|---|---|---|
Priority: | minor | Milestone: | hardened |
Component: | security | Version: | 2.0.0 |
Keywords: | Cc: |
Description
Altough some applications called by xdg-open
use a file content to determine it's MIME type, right now we're relying on file extensions to make sure every application is supported, but with the downside of revealing the file extension in the keyring repository.
One alternative would be to reset TMPWORK
depending on the MIME type returned by file -i
or xdg-mime query filetype
.
Note: See
TracTickets for help on using
tickets.