diff options
author | rbuj <[email protected]> | 2020-11-23 21:53:17 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-21 19:33:49 +0200 |
commit | f7d45480798b69ec4b115a44b5831bcd28a34846 (patch) | |
tree | ac3bee490ba4b85f545aecfdc84c8832824bf745 | |
parent | 34691f557d7f2d9762658b965b68b86188c31670 (diff) | |
download | caja-f7d45480798b69ec4b115a44b5831bcd28a34846.tar.bz2 caja-f7d45480798b69ec4b115a44b5831bcd28a34846.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 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; |