X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b0bcf77ccc17dc18b6294b63de12ce3e70b53345..312017f3699e61973cdcf87d577a8cc21a4c2dc6:/widgets/imap.lua?ds=inline

diff --git a/widgets/imap.lua b/widgets/imap.lua
index d4b4cba..1ebbb76 100644
--- a/widgets/imap.lua
+++ b/widgets/imap.lua
@@ -54,7 +54,7 @@ local function worker(args)
             position = "top_left"
         }
 
-        curl = string.format("%s --url imaps://%s:%s/INBOX -u %s:%s %s -k",
+        curl = string.format("%s --url imaps://%s:%s/INBOX -u %s:%q %s -k",
                head_command, server, port, mail, password, request)
 
         async.request(curl, function(f)