mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
3b29679d4f
commit
933c248171
@ -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);
|
||||
}
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user