diff --git a/mozilla/mailnews/compose/src/nsMsgCreate.cpp b/mozilla/mailnews/compose/src/nsMsgCreate.cpp index 1a756fa5bea..4aca631c002 100644 --- a/mozilla/mailnews/compose/src/nsMsgCreate.cpp +++ b/mozilla/mailnews/compose/src/nsMsgCreate.cpp @@ -157,7 +157,9 @@ nsMsgDraft::ProcessDraftOrTemplateOperation(const char *msgURI, nsMimeOutputType } nsCOMPtr aURL; - rv = CreateStartupUrl(mURI, getter_AddRefs(aURL)); + rv = mMessageService->GetUrlForUri(mURI, getter_AddRefs(aURL), aMsgWindow); + if (aURL) + aURL->SetSpec(nsDependentCString(mURI)); // if we are forwarding a message and that message used a charset over ride // then use that over ride charset instead of the charset specified in the message