POP3Client: use URL-Encoder that also encades the '@'
[citadel.git] / citadel / modules / pop3client / serv_pop3client.c
index 764293c317eb8e80b548b7de0296cd16c964316e..cebd02c1f29dfed6df755562fd1686e0ac81ec2b 100644 (file)
@@ -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);