aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-12-16 10:23:48 -0500
committerKen Moore <ken@ixsystems.com>2016-12-16 10:23:48 -0500
commitb8e11a36f47d15f2f77cbccc1cb3cb526203be9c (patch)
tree2e7a10ecce32671dab235fbfbeb8db7dcb267f5e
parentFix the mimetype matching routine to support multiple-extension formats bette... (diff)
downloadlumina-b8e11a36f47d15f2f77cbccc1cb3cb526203be9c.tar.gz
lumina-b8e11a36f47d15f2f77cbccc1cb3cb526203be9c.tar.bz2
lumina-b8e11a36f47d15f2f77cbccc1cb3cb526203be9c.zip
Another mimetype detection fix.
-rw-r--r--src-qt5/core/lumina-open/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-open/main.cpp b/src-qt5/core/lumina-open/main.cpp
index 279f7c1b..d0bf79c0 100644
--- a/src-qt5/core/lumina-open/main.cpp
+++ b/src-qt5/core/lumina-open/main.cpp
@@ -333,6 +333,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat
}else{
//No field codes (or improper field codes given in the file - which is quite common)
// - Just tack the input file on the end and let the app handle it as necessary
+ inFile.replace("%20"," "); //assume a local-file format rather than URL format
cmd.append(" \""+inFile+"\"");
}
}
bgstack15