GitHub user sebbASF opened an issue:
https://github.com/apache/incubator-ponymail/issues/140
Bug: lib/aaa.lua various bugs
getRights(): creates global variable 'uid'
Also it defaults to user.email if usr.uid does not exist, however the
subsequent match() command will never match a valid email, so there's no point
in the default.
This is example code, but it should still be bug-free as far as it goes.
Not sure why the match RE is not anchored. It would be faster to match, and
would avoid having to check against the input. However that is not a bug,
though it does make the code harder to follow.
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---