all repos — cgit @ aa6d5b105de9de6d01855c15217e46fd36890dbc

a hyperfast web frontend for git written in c

simple-authentication: style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Jason A. Donenfeld Jason@zx2c4.com
Thu, 23 Jan 2014 00:58:07 +0100
commit

aa6d5b105de9de6d01855c15217e46fd36890dbc

parent

44ccae4227060f91c60ad45de1188e728ce8af0d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M filters/simple-authentication.luafilters/simple-authentication.lua

@@ -166,7 +166,7 @@ if not str then

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