correct fix for 103703 loading message leaks url spec, r/sr=sspitzer

git-svn-id: svn://10.0.0.236/trunk@105932 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%netscape.com 2001-10-22 13:25:54 +00:00
parent 796087a7db
commit cf0079914f

View File

@ -157,7 +157,7 @@ nsresult nsMsgProtocol::GetFileFromURL(nsIURI * aURL, nsIFile **aResult)
// extract the file path from the uri...
nsXPIDLCString filePath;
aURL->GetPath(getter_Copies(filePath));
nsCAutoString urlSpec("file://%s");
nsCAutoString urlSpec("file://");
urlSpec.Append(filePath.get());
nsresult rv;