From f7d45480798b69ec4b115a44b5831bcd28a34846 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 23 Nov 2020 21:53:17 +0100 Subject: caja-directory-async: trust only system launchers --- libcaja-private/caja-directory-async.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libcaja-private/caja-directory-async.c') diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c index 80899205..718f7809 100644 --- a/libcaja-private/caja-directory-async.c +++ b/libcaja-private/caja-directory-async.c @@ -3861,14 +3861,9 @@ is_link_trusted (CajaFile *file, return TRUE; } - if (caja_file_can_execute (file)) - { - return TRUE; - } - res = FALSE; - if (caja_file_is_local (file)) + if (caja_file_can_execute (file) && caja_file_is_local (file)) { GFile *location; -- cgit v1.2.1