From 6c62aaa3454eee24f023750762c1538ba867deff Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Fri, 9 Jan 2004 23:41:26 +0000 Subject: [PATCH] thunderbird only. still playing around with the outgoing UA string for tbird. Bug #227863 git-svn-id: svn://10.0.0.236/trunk@151112 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/compose/src/nsMsgCompUtils.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/mailnews/compose/src/nsMsgCompUtils.cpp b/mozilla/mailnews/compose/src/nsMsgCompUtils.cpp index 4710dfc1dff..02b78c49bec 100644 --- a/mozilla/mailnews/compose/src/nsMsgCompUtils.cpp +++ b/mozilla/mailnews/compose/src/nsMsgCompUtils.cpp @@ -488,10 +488,15 @@ RRT_HEADER: nsCAutoString productSub; pHTTPHandler->GetProductSub(productSub); + nsCAutoString platform; + pHTTPHandler->GetPlatform(platform); + userAgentString.AssignWithConversion(brandName.get()); userAgentString += ' '; userAgentString += vendorSub; userAgentString += " ("; + userAgentString += platform; + userAgentString += " "; userAgentString += productSub; userAgentString += ")"; }