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/11/04 00:12:03 UTC

incubator-ponymail git commit: Typo

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 68b31787e -> 51a25f1fe


Typo

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/51a25f1f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/51a25f1f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/51a25f1f

Branch: refs/heads/master
Commit: 51a25f1fe6301bd694bb1fdc099d5a06817a03ec
Parents: 68b3178
Author: Sebb <se...@apache.org>
Authored: Fri Nov 4 00:11:39 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Fri Nov 4 00:11:39 2016 +0000

----------------------------------------------------------------------
 site/api/lib/cross.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/51a25f1f/site/api/lib/cross.lua
----------------------------------------------------------------------
diff --git a/site/api/lib/cross.lua b/site/api/lib/cross.lua
index 47493bb..a2fd889 100644
--- a/site/api/lib/cross.lua
+++ b/site/api/lib/cross.lua
@@ -49,7 +49,7 @@ function ngstart(handler)
             setcookie = function(r, tbl)
                 ngx.header["Set-Cookie"] = ("%s=%s; Path=/;"):format(tbl.key, tbl.value)
             end,
-            escape = function(r, foo) return ngx.unescape_uri(foo) end,
+            escape =   function(r, foo) return ngx.escape_uri(foo) end,
             unescape = function(r, foo) return ngx.unescape_uri(foo) end,
             sha1 = function(r, foo) return apr and apr.sha1(foo) or ngx.md5(foo) end,
             ivm_set = function(r, key, val) _M['ivm_' .. key] = val end,