-
Notifications
You must be signed in to change notification settings - Fork 29
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
Configuration of Webfilter produces invalid config file #15
Comments
Hi, yes, you are right, it's a bug on the E2g Groups>General config page. The backend of the page is supposed to reject blank user names being added to groups, but it does accept them instead. Apparently, you have clicked the Add button for the filter group 2 while the edit box for it was empty. I can replicate the issue here. The following patch fixes the issue you have reported:
But I am not sure if it breaks the other parts of the code (the RE_NAME definition is used elsewhere too). I should check this patch carefully before committing it. Thanks for reporting. |
The correct patch is the reverse:
|
excuse me, why have you chosen php for this? |
No it's human developers who are not reliable (and in this case that's me myself), not PHP. |
yah, it's a popular argument, but is it really has reliable basis? |
as I understand dhall-lang developers have opposite opinion |
anyway, thank you for your work |
I was testing the firewall, and configuring the Webfilter produced an invalid config file.
These lines where in the file /etc/e2guardian/lists/authplugins/ipgroups.
"utmfw = filter1
= filter2
bjt = filter5
all = filter1
bj = filter2"
I didnt edit the file manually, so i think this was produced by the interface.
The text was updated successfully, but these errors were encountered: