Re: [PATCH] imap-send: URI encode server folder

2017-12-05 Thread Junio C Hamano
Eric Sunshine writes: > ... Can you > expand the commit message a bit to make it more self-contained? At > minimum, perhaps show the error message you were experiencing, and > cite (as Daniel pointed out) RFC 3986 and the bit about a "legal" URL > not containing brackets. Thanks for a good sugge

Re: [PATCH] imap-send: URI encode server folder

2017-11-30 Thread Eric Sunshine
On Thu, Nov 30, 2017 at 5:07 AM, Nicolas Morey-Chaisemartin wrote: > URI encode the server folder string before passing it to libcurl. > This fixes the access to the draft folder on Gmail accounts (named > [Gmail]/Drafts) For someone reading this commit message in the future -- someone who didn'

[PATCH] imap-send: URI encode server folder

2017-11-30 Thread Nicolas Morey-Chaisemartin
URI encode the server folder string before passing it to libcurl. This fixes the access to the draft folder on Gmail accounts (named [Gmail]/Drafts) Reported-by: Doron Behar Signed-off-by: Nicolas Morey-Chaisemartin --- imap-send.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-)