Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore whitespace around rule #637

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kumavale
Copy link

Fixes #571

Allow rules in 'rules.conf' to start and end with spaces.
It also allowed lines with only spaces.

$ cat -A rules.conf
allow $
 $

I would like to allow these characters because they are invisible, but I would like to hear your opinion about lines starting with spaces.

$ cat -A rules.conf
 allow$

@kumavale kumavale marked this pull request as ready for review September 29, 2024 12:54
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.

usbguard fails to start if rule line in rules.conf ends with space character.
1 participant