You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/12/08 12:34:23 UTC
incubator-ponymail git commit: inconsistent rights checking
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 0baf76207 -> c4045ee35
inconsistent rights checking
As per #267, doc.list => doc.list_raw
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/c4045ee3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/c4045ee3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/c4045ee3
Branch: refs/heads/master
Commit: c4045ee35a2c2a696c20f907b71fa49e9639986d
Parents: 0baf762
Author: Sebb <se...@apache.org>
Authored: Thu Dec 8 12:34:04 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Thu Dec 8 12:34:04 2016 +0000
----------------------------------------------------------------------
site/api/notifications.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/c4045ee3/site/api/notifications.lua
----------------------------------------------------------------------
diff --git a/site/api/notifications.lua b/site/api/notifications.lua
index 579def4..d4ecba5 100644
--- a/site/api/notifications.lua
+++ b/site/api/notifications.lua
@@ -61,8 +61,8 @@ function handle(r)
end
canUse = false
if account then
- local lid = doc.list:match("<[^.]+%.(.-)>")
- local flid = doc.list:match("<([^.]+%..-)>")
+ local lid = doc.list_raw:match("<[^.]+%.(.-)>")
+ local flid = doc.list_raw:match("<([^.]+%..-)>")
for k, v in pairs(rights or {}) do
if v == "*" or v == lid or v == flid then
canUse = true