GUI open document: use %U (encoded URL) instead of %u with xdg-open. Else #*, ?* are stripped as fragment or query

This commit is contained in:
Jean-Francois Dockes 2019-08-27 07:33:35 +02:00
parent 49949ca5b3
commit 3a668a6b22

View File

@ -25,8 +25,9 @@ xallexcepts = application/pdf application/postscript application/x-dvi \
[view]
# Pseudo entry used if the 'use desktop' preference is set in the GUI
application/x-all = xdg-open %u
# Pseudo entry used if the 'use desktop' preference is set in the GUI.
# Note that we use %U to url-encode the parameter
application/x-all = xdg-open %U
application/epub+zip = ebook-viewer %f
# Open the parent epub document for epub parts instead of opening them as