neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit aa6d5b105de9de6d01855c15217e46fd36890dbc
parent 44ccae4227060f91c60ad45de1188e728ce8af0d
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Thu, 23 Jan 2014 00:58:07 +0100

simple-authentication: style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

Diffstat:
Mfilters/simple-authentication.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filters/simple-authentication.lua b/filters/simple-authentication.lua @@ -166,7 +166,7 @@ function url_encode(str) return "" end str = string.gsub(str, "\n", "\r\n") - str = string.gsub(str, "([^%w ])", function (c) return string.format("%%%02X", string.byte(c)) end) + str = string.gsub(str, "([^%w ])", function(c) return string.format("%%%02X", string.byte(c)) end) str = string.gsub(str, " ", "+") return str end