From a5d679eec4b864d3447d7a93719f8efcbdd1b41a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:56:35 -0700 Subject: Spell url in the Lua comments as the docs do --- custom/extensions/auth-inline.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom/extensions/auth-inline.lua') diff --git a/custom/extensions/auth-inline.lua b/custom/extensions/auth-inline.lua index 8b4e873..e795717 100644 --- a/custom/extensions/auth-inline.lua +++ b/custom/extensions/auth-inline.lua @@ -161,7 +161,7 @@ function repo_userset(repo) return protected_repos[repo] end --- The URL helpers below are adapted from keplerproject/wsapi. +-- The url helpers below are adapted from keplerproject/wsapi. function url_decode(str) str = string.gsub(str, "+", " ") @@ -204,7 +204,7 @@ local function trim(text) return text:sub(first, last) end --- The token comes back still URL encoded by secure_value. Decoding it here +-- The token comes back still url encoded by secure_value. Decoding it here -- would break the signature check for any value carrying a percent escape. function get_cookie(cookies, name) for raw in string.gmatch(cookies or "", "[^;]+") do -- cgit