mirror of https://github.com/lcpz/lain.git
Some might have spaces in passwords (Like I do) and then curl fails.
* Changed string formatting of password to %q to always quote password
This commit is contained in:
parent
dba2c648f1
commit
1973b16fdc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue