shell/source/unix/exec/shellexec.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit e4c3fa614d9be6e32dde49970ace55d9a2b57368
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Feb 9 10:10:52 2022 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Feb 9 13:05:44 2022 +0100

    add webloc and url extensions
    
    Change-Id: I02b959f6bcdff5657525a6fd45d12c31315c1a68
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129715
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/shell/source/unix/exec/shellexec.cxx 
b/shell/source/unix/exec/shellexec.cxx
index e3d4308df78f..e2df20e026ac 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -146,7 +146,9 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, 
const OUString& aPar
             } else if (pathname.endsWithIgnoreAsciiCase(".class")
                        || pathname.endsWithIgnoreAsciiCase(".fileloc")
                        || pathname.endsWithIgnoreAsciiCase(".inetloc")
-                       || pathname.endsWithIgnoreAsciiCase(".jar"))
+                       || pathname.endsWithIgnoreAsciiCase(".jar")
+                       || pathname.endsWithIgnoreAsciiCase(".url")
+                       || pathname.endsWithIgnoreAsciiCase(".webloc"))
             {
                 dir = true;
             }

Reply via email to