summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-09 10:10:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-09 13:05:44 +0100
commite4c3fa614d9be6e32dde49970ace55d9a2b57368 (patch)
tree0c59a75e7a67bc8c8f209d81d00a08a6014be6ca /shell
parent7484c3393dc2216239cdb730983725fe2e08e730 (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/exec/shellexec.cxx4
1 files changed, 3 insertions, 1 deletions
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;
}