mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
in imapclient, when sending "astring" (atom or string), actually return the string when we need to quote it
from pexarkh, issue #11
This commit is contained in:
parent
2768f5ec16
commit
2e47540f22
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ func astring(s string) string {
|
|||
}
|
||||
for _, c := range s {
|
||||
if c <= ' ' || c >= 0x7f || c == '(' || c == ')' || c == '{' || c == '%' || c == '*' || c == '"' || c == '\\' {
|
||||
stringx(s)
|
||||
return stringx(s)
|
||||
}
|
||||
}
|
||||
return s
|
||||
|
|
Loading…
Reference in a new issue