diff options
author | Renwa Hiwa <renwax23@gmail.com> | 2022-02-09 10:02:14 +0000 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-02-10 12:19:06 +0100 |
commit | f9acc4a986f03c99007ef3165be33c5d54a553de (patch) | |
tree | 5321bc2f5029826178b6f64f3bafb2bea25335f1 | |
parent | Update git submodules (diff) | |
download | core-f9acc4a986f03c99007ef3165be33c5d54a553de.tar.gz core-f9acc4a986f03c99007ef3165be33c5d54a553de.zip |
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>
(cherry picked from commit 7484c3393dc2216239cdb730983725fe2e08e730)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129622
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 5248c934ab16..cdde6a81e02d 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -137,6 +137,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; |