about summary refs log tree commit diff
path: root/filters
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-01-23 00:58:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-23 00:58:07 +0100
commitaa6d5b105de9de6d01855c15217e46fd36890dbc (patch)
treea11402ce8f8b11f80113bbd95e8c90db487d4dbf /filters
parentmakefile: use LUA_PKGCONFIG to set Lua implementation (diff)
downloadcgit-pink-aa6d5b105de9de6d01855c15217e46fd36890dbc.tar.gz
cgit-pink-aa6d5b105de9de6d01855c15217e46fd36890dbc.zip
simple-authentication: style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--filters/simple-authentication.lua2
1 files changed, 1 insertions, 1 deletions
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
9f411e7869&follow=1'>Use only foreground color for selecting spawnJune McEnroe 2017-08-29Add four additional spawnsJune McEnroe 2017-08-28Add respawningJune McEnroe 2017-08-26Move license above includesJune McEnroe 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe