diff options
author | Renwa Hiwa <renwax23@gmail.com> | 2022-02-09 10:02:14 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-02-14 11:00:09 +0100 |
commit | b049c1dbe4ae5cdf15e9d0d492b920a0482412da (patch) | |
tree | 99e42eb70b4a28be5c9ca4bde79a2afd39236625 /shell | |
parent | 3e7f1c1629afba54f908875e2e6b4ca2fbe94035 (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>
(cherry picked from commit 7484c3393dc2216239cdb730983725fe2e08e730)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129622
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'shell')
-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; |