shell/source/unix/exec/shellexec.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7484c3393dc2216239cdb730983725fe2e08e730
Author:     Renwa Hiwa <[email protected]>
AuthorDate: Wed Feb 9 10:02:14 2022 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Feb 9 13:05:28 2022 +0100

    Better handling of inetlocs
    
    LIBREOFFICE-39BBF6YM
    
    Change-Id: Iadae856a524a0ccda238785f60c8f3459e7b6157
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129714
    Reviewed-by: Stephan Bergmann <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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;

Reply via email to