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

New commits:
commit 0a1d94d58d6eff85f6266ea01ae1722217ae0b01
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Feb 9 13:25:29 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Feb 9 20:57:51 2022 +0100

    Revert "add webloc and url extensions"
    
    This reverts commit e4c3fa614d9be6e32dde49970ace55d9a2b57368.
    
    Reason for revert: there's no evidence that they should be in this list
    
    Change-Id: I8aa5f8a6beaf578feb76684cad5f6a69e17e2b2a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129624
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/shell/source/unix/exec/shellexec.cxx 
b/shell/source/unix/exec/shellexec.cxx
index e2df20e026ac..e3d4308df78f 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -146,9 +146,7 @@ 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(".url")
-                       || pathname.endsWithIgnoreAsciiCase(".webloc"))
+                       || pathname.endsWithIgnoreAsciiCase(".jar"))
             {
                 dir = true;
             }

Reply via email to