From: Wilfried Goesgens Date: Thu, 10 May 2012 20:34:21 +0000 (+0200) Subject: POP3Client: use URL-Encoder that also encades the '@' X-Git-Tag: v8.11~25 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=225a493f2a8e8cda29b94874977681e66ecb961c POP3Client: use URL-Encoder that also encades the '@' --- diff --git a/citadel/modules/pop3client/serv_pop3client.c b/citadel/modules/pop3client/serv_pop3client.c index 764293c31..cebd02c1f 100644 --- a/citadel/modules/pop3client/serv_pop3client.c +++ b/citadel/modules/pop3client/serv_pop3client.c @@ -1068,9 +1068,9 @@ void pop3client_scan_room(struct ctdlroom *qrbuf, void *data) '|'); StrBufAppendBufPlain(cptr->Url, HKEY("pop3://"), 0); - StrBufUrlescAppend(cptr->Url, cptr->pop3user, NULL); + StrBufUrlescUPAppend(cptr->Url, cptr->pop3user, NULL); StrBufAppendBufPlain(cptr->Url, HKEY(":"), 0); - StrBufUrlescAppend(cptr->Url, cptr->pop3pass, NULL); + StrBufUrlescUPAppend(cptr->Url, cptr->pop3pass, NULL); StrBufAppendBufPlain(cptr->Url, HKEY("@"), 0); StrBufAppendBuf(cptr->Url, Tmp, 0); StrBufAppendBufPlain(cptr->Url, HKEY("/"), 0);