diff --git a/mozilla/extensions/finger/nsFingerChannel.cpp b/mozilla/extensions/finger/nsFingerChannel.cpp index 317a5d4dcd7..9cfb2e1037a 100644 --- a/mozilla/extensions/finger/nsFingerChannel.cpp +++ b/mozilla/extensions/finger/nsFingerChannel.cpp @@ -486,7 +486,10 @@ nsFingerChannel::OnStopRequest(nsIChannel* aChannel, nsISupports* aContext, nsCOMPtr converter(do_QueryInterface(converterListener)); if (converter) { - nsAutoString title; title.AssignWithConversion("Finger Results"); + nsAutoString title; title.AssignWithConversion("Finger information for "); + nsXPIDLCString userHost; + rv = mUrl->GetPath(getter_Copies(userHost)); + title.Append(userHost); converter->SetTitle(title.GetUnicode()); converter->PreFormatHTML(PR_TRUE); } diff --git a/mozilla/netwerk/protocol/finger/src/nsFingerChannel.cpp b/mozilla/netwerk/protocol/finger/src/nsFingerChannel.cpp index 317a5d4dcd7..9cfb2e1037a 100644 --- a/mozilla/netwerk/protocol/finger/src/nsFingerChannel.cpp +++ b/mozilla/netwerk/protocol/finger/src/nsFingerChannel.cpp @@ -486,7 +486,10 @@ nsFingerChannel::OnStopRequest(nsIChannel* aChannel, nsISupports* aContext, nsCOMPtr converter(do_QueryInterface(converterListener)); if (converter) { - nsAutoString title; title.AssignWithConversion("Finger Results"); + nsAutoString title; title.AssignWithConversion("Finger information for "); + nsXPIDLCString userHost; + rv = mUrl->GetPath(getter_Copies(userHost)); + title.Append(userHost); converter->SetTitle(title.GetUnicode()); converter->PreFormatHTML(PR_TRUE); }