From cf0079914f99123db4e5fed7db2dbcf8634765d9 Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Mon, 22 Oct 2001 13:25:54 +0000 Subject: [PATCH] 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 --- mozilla/mailnews/base/util/nsMsgProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/mailnews/base/util/nsMsgProtocol.cpp b/mozilla/mailnews/base/util/nsMsgProtocol.cpp index bf9a16849a7..baec33afefe 100644 --- a/mozilla/mailnews/base/util/nsMsgProtocol.cpp +++ b/mozilla/mailnews/base/util/nsMsgProtocol.cpp @@ -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;