From aa6d5b105de9de6d01855c15217e46fd36890dbc Mon Sep 17 00:00:00 2001 From: Jason A. Donenfeld Date: Thu, 23 Jan 2014 00:58:07 +0100 Subject: simple-authentication: style Signed-off-by: Jason A. Donenfeld --- filters/simple-authentication.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filters') diff --git a/filters/simple-authentication.lua b/filters/simple-authentication.lua index 230d3a3..cc86b7e 100644 --- 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 -- cgit v1.2.3-70-g09d2