diff --git a/widgets/gmail.lua b/widgets/gmail.lua index 84f2125..e3e5503 100644 --- a/widgets/gmail.lua +++ b/widgets/gmail.lua @@ -39,7 +39,7 @@ local mail = { -- {{{ Gmail widget type local function worker(format, warg) -- Get info from the Gmail atom feed - local f = io.popen("curl --connect-timeout 1 -m 3 -fsn " .. feed) + local f = io.popen("curl --connect-timeout 1 -m 3 -fsn " .. helpers.shellquote(feed[1])) -- Could be huge don't read it all at once, info we are after is at the top local xml = f:read(2000)