From 3ea92711269153916990d6cd7999bf436775e647 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Sun, 18 Jan 2004 08:59:21 +0000 Subject: Added new filter to code.c, to convert between line conventions. --- src/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/http.lua b/src/http.lua index 2fc9e87..f51da25 100644 --- a/src/http.lua +++ b/src/http.lua @@ -419,7 +419,7 @@ end ----------------------------------------------------------------------------- local function authorize(reqt, parsed, respt) reqt.headers["authorization"] = "Basic " .. - socket.code.base64.encode(parsed.user .. ":" .. parsed.password) + (socket.code.b64(parsed.user .. ":" .. parsed.password)) local autht = { nredirects = reqt.nredirects, method = reqt.method, -- cgit v1.2.3-55-g6feb