Forward inline URI, changed to use GetUrlForUri instead of CreateStartupUrl,
contributed by adu@sparc.spb.su, bug 66098, r=nhotta, sr=sspitzer, a=asa. git-svn-id: svn://10.0.0.236/trunk@116081 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -157,7 +157,9 @@ nsMsgDraft::ProcessDraftOrTemplateOperation(const char *msgURI, nsMimeOutputType
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIURI> 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
|
||||
|
||||
Reference in New Issue
Block a user