summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRenwa Hiwa <renwax23@gmail.com>2022-02-09 10:02:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-09 13:05:28 +0100
commit7484c3393dc2216239cdb730983725fe2e08e730 (patch)
tree565298f7e10f03e238e6cdfc1d4bf74deadf8f58 /shell
parent571be264d9604c3d77036e26812f909655cc0bb2 (diff)
Better handling of inetlocs
LIBREOFFICE-39BBF6YM Change-Id: Iadae856a524a0ccda238785f60c8f3459e7b6157 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129714 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/exec/shellexec.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 2e2b2040af1b..e3d4308df78f 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -145,6 +145,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
"XSystemShellExecute.execute, cannot process <" + aCommand + ">", {}, 0);
} else if (pathname.endsWithIgnoreAsciiCase(".class")
|| pathname.endsWithIgnoreAsciiCase(".fileloc")
+ || pathname.endsWithIgnoreAsciiCase(".inetloc")
|| pathname.endsWithIgnoreAsciiCase(".jar"))
{
dir = true;