gmail: don't break on non-escaped chars, quote login
This commit is contained in:
parent
abacd771bd
commit
1c0cefff8b
|
@ -51,7 +51,7 @@ local function worker(format, warg)
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Get info from the Gmail atom feed
|
-- 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
|
-- Could be huge don't read it all at once, info we are after is at the top
|
||||||
for line in f:lines() do
|
for line in f:lines() do
|
||||||
|
|
Loading…
Reference in New Issue