summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-09 13:25:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-02-09 20:57:51 +0100
commit0a1d94d58d6eff85f6266ea01ae1722217ae0b01 (patch)
tree563b62d0973b4f15a0d414c88c2e0cd6776247f9 /shell
parenta555aa25bd17781b2828e13ac81456a45387284d (diff)
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 <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/exec/shellexec.cxx4
1 files changed, 1 insertions, 3 deletions
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;
}