Skip to content

Conversation

@kylehickinson
Copy link
Contributor

This changes the regex so that only 1 folder can be detected between /Users and /Library which should be the users home folder. This fixes a bug where BlockBlock would falsely alert the user that a launch agent or daemon was installed when in reality it existed in a deeper folder structure such as /Users/test/Downloads/Library/LaunchAgents/com.test.plist

This should fix #38

If the described behaviour is not the goal of BlockBlock please feel free to close this PR. Thanks!

This changes the regex so that only 1 folder can be detected between `/Users` and `/Library` which should be the users home folder. This fixes a bug where BlockBlock would falsely alert the user that a launch agent or daemon was installed when in reality it existed in a deeper folder structure such as `/Users/test/Downloads/Library/LaunchAgents/com.test.plist`
@objective-see objective-see merged commit 1c94286 into objective-see:master Apr 17, 2022
@objective-see
Copy link
Owner

Thanks @kylehickinson for debugging the issue, and providing a fix! 🙏🏽

objective-see added a commit that referenced this pull request Apr 17, 2022
fix for #39
@kylehickinson kylehickinson deleted the deep-path-false-alerts branch April 19, 2022 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hundreds of alerts when unzipping Xcode

2 participants