From a8f890f8ddd95d7a18f3c286707062ee7b915b78 Mon Sep 17 00:00:00 2001 From: "locka%iol.ie" Date: Mon, 19 Nov 2001 21:48:31 +0000 Subject: [PATCH] Restore old URI space trimming code to avoid potential regression. bug 110081 r=pchen@netscape.com sr=ben@netscape.com --- docshell/base/nsDocShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 447df425f42b..b9e24aec4eec 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -4095,7 +4095,7 @@ nsDocShell::CreateFixupURI(const PRUnichar * aStringURI, nsIURI ** aURI) { *aURI = nsnull; nsAutoString uriString(aStringURI); - uriString.CompressWhitespace(); // Cleanup the empty spaces that might be on each end. + uriString.Trim(" "); // Cleanup the empty spaces that might be on each end. // Eliminate embedded newlines, which single-line text fields now allow: uriString.StripChars("\r\n");