From 4a7fe0f438ab37bcb483ac63627b86872da6c1b8 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(-) diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c index 615bcd93..b50c168e 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