]> git.cameronkatri.com Git - cgit.git/blobdiff - filters/simple-authentication.lua
repolist: add owner-filter
[cgit.git] / filters / simple-authentication.lua
index 230d3a36b7432f40f717de240e2299f04987b980..cc86b7e3d76f491e8ea40ac30320c3dc3eca4876 100644 (file)
@@ -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