[Sandbox Broker] Only pop suggester for local URLs
Only pop up the path suggester and check on local file URLs, not remote URLs, which shouldn't be checked, since they don't require sandbox permission grants or bookmarks. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
7a3d571492
commit
824675ae59
|
@ -410,6 +410,7 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
|
|||
|
||||
- (BOOL)areAllPathsSafe:(NSArray *)urls {
|
||||
for(NSURL *url in urls) {
|
||||
if(![url isFileURL]) continue;
|
||||
if(![self recursivePathTest:url]) {
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue