fix for #99657. change biff url from pop3://user@host:port?check to pop3://user@host:port?/check

the first url isn't valid (w.r.t. our parser) so we'll fail to biff.  r=bbaetz, sr=darin.
This commit is contained in:
sspitzer%netscape.com 2001-09-14 21:30:23 +00:00
parent 3b29679d4f
commit 933c248171
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ NS_IMETHODIMP nsPop3Service::CheckForNewMail(nsIMsgWindow* aMsgWindow,
// now construct a pop3 url...
// we need to escape the username because it may contain
// characters like / % or @
char * urlSpec = PR_smprintf("pop3://%s@%s:%d?check", (const char *)escapedUsername, (const char *)popHost, popPort);
char * urlSpec = PR_smprintf("pop3://%s@%s:%d/?check", (const char *)escapedUsername, (const char *)popHost, popPort);
rv = BuildPop3Url(urlSpec, inbox, popServer, aUrlListener, getter_AddRefs(url), aMsgWindow, popPort);
PR_FREEIF(urlSpec);
}

View File

@ -36,7 +36,7 @@
#include "nsMsgLocalFolderHdrs.h"
#include "nsIMsgFolder.h" // TO include biffState enum. Change to bool later...
NS_IMPL_ISUPPORTS1(nsPop3Sink, nsIPop3Sink)
NS_IMPL_THREADSAFE_ISUPPORTS1(nsPop3Sink, nsIPop3Sink)
nsPop3Sink::nsPop3Sink()
{