shell/source/unix/exec/shellexec.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 3bddf099072befe18cf555507f400ff14fef077b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Feb 22 20:38:55 2022 +0000 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Mon Feb 28 19:15:38 2022 +0100 add to suffix denylist add the macOS specific suffixes from https: //support.google.com/mail/answer/6590?hl=en#zippy=%2Cmessages-that-have-attachments Change-Id: I3a834694e3aefb757974cd00ade009874c68c8b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130397 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> (cherry picked from commit 3e67678af2f6f8f7d25c5ad67b3828e96bc293b8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130449 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> (cherry picked from commit 2004067d2d3f9728770eac8f99a8835d230ffb0a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130452 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 2535fbb18e7f..d9da11334a64 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -136,8 +136,10 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar throw css::lang::IllegalArgumentException( "XSystemShellExecute.execute, cannot process <" + aCommand + ">", {}, 0); } else if (pathname.endsWithIgnoreAsciiCase(".class") + || pathname.endsWithIgnoreAsciiCase(".dmg") || pathname.endsWithIgnoreAsciiCase(".fileloc") || pathname.endsWithIgnoreAsciiCase(".inetloc") + || pathname.endsWithIgnoreAsciiCase(".ipa") || pathname.endsWithIgnoreAsciiCase(".jar") || pathname.endsWithIgnoreAsciiCase(".terminal")) {