From 1c0cefff8bd4ff7a2aa7e683e1be4fdd1de905f8 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 10 Mar 2010 21:25:51 +0100 Subject: gmail: don't break on non-escaped chars, quote login --- gmail.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gmail.lua') diff --git a/gmail.lua b/gmail.lua index d270bea..da086c7 100644 --- a/gmail.lua +++ b/gmail.lua @@ -51,7 +51,7 @@ local function worker(format, warg) } -- Get info from the Gmail atom feed - local f = io.popen("curl --connect-timeout 1 -m 3 -fsu "..auth.." "..cfg.feed[1]) + local f = io.popen("curl --connect-timeout 1 -m 3 -fsu '"..auth.."' "..cfg.feed[1]) -- Could be huge don't read it all at once, info we are after is at the top for line in f:lines() do -- cgit v1.2.3