800ce59e41
and change notes). Firefox 1.5.0.x will be maintained in www/firefox15*, as discussed on tech-pkg.
14 lines
533 B
Text
14 lines
533 B
Text
$NetBSD: patch-eb,v 1.2 2007/05/12 13:53:11 ghen Exp $
|
|
|
|
--- xpfe/components/history/src/nsGlobalHistory.cpp.orig 2006-02-02 20:55:17.000000000 +0100
|
|
+++ xpfe/components/history/src/nsGlobalHistory.cpp
|
|
@@ -1055,6 +1055,9 @@ nsGlobalHistory::SetPageTitle(nsIURI *aU
|
|
rv = aURI->GetSpec(URISpec);
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
+ if (URISpec.Length() > HISTORY_URI_LENGTH_MAX)
|
|
+ URISpec.Left(URISpec, HISTORY_URI_LENGTH_MAX);
|
|
+
|
|
nsCOMPtr<nsIMdbRow> row;
|
|
rv = FindRow(kToken_URLColumn, URISpec.get(), getter_AddRefs(row));
|
|
|