mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
work around bug in microsoft outlook "new", which fails when the tag in an esearch response doesn't have quotes
This commit is contained in:
parent
91b7d3dda8
commit
2ae121e400
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ func (c *conn) cmdxSearch(isUID bool, tag, cmd string, p *parser) {
|
|||
|
||||
// No untagged ESEARCH response if nothing was requested. ../rfc/9051:4160
|
||||
if len(eargs) > 0 {
|
||||
resp := fmt.Sprintf("* ESEARCH (TAG %s)", tag)
|
||||
// Microsoft Outlook "new" (Microsoft Office 365/15.20.7025.17) seems to fail when
|
||||
// the tag value doesn't have double quotes. These quotes are optional.
|
||||
resp := fmt.Sprintf(`* ESEARCH (TAG "%s")`, tag)
|
||||
if isUID {
|
||||
resp += " UID"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue