diff options
author | rbuj <[email protected]> | 2020-11-23 21:53:17 +0100 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2020-12-11 13:18:31 -0500 |
commit | 4a7fe0f438ab37bcb483ac63627b86872da6c1b8 (patch) | |
tree | 0e19a21863264117e0cd167eda36e7930836eb49 | |
parent | a54cf4b052364bf26ecc5625bbf65f89db7bcec8 (diff) | |
download | caja-4a7fe0f438ab37bcb483ac63627b86872da6c1b8.tar.bz2 caja-4a7fe0f438ab37bcb483ac63627b86872da6c1b8.tar.xz |
caja-directory-async: trust only system launchers
-rw-r--r-- | libcaja-private/caja-directory-async.c | 7 |
1 files changed, 1 insertions, 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; |