diff options
author | Petr Mladek <pmladek@suse.cz> | 2013-02-18 11:03:12 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-02-18 11:31:02 +0100 |
commit | d77b25384bfcfcbcce32af8038ff857738406a45 (patch) | |
tree | 2b191fa9c114e0ab8ad94e0ba1d586562cd354f9 | |
parent | 5fd7c66733620ffaf06172cb9998bd73b7a2f9ba (diff) |
avoid space in the version of the update information provider
LO-4.0.0.3 sends "4.0 .0.3" to the server.
Change-Id: I2cda062778ac3632f89eb5c0d1cc85e57d8d1870
-rw-r--r-- | extensions/source/update/feed/updatefeed.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index 045ac07b2571..e83ae0cec319 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -356,7 +356,6 @@ UpdateInformationProvider::UpdateInformationProvider( "org.openoffice.Setup/Product", "ooSetupExtension") >>= extension; if (!extension.isEmpty()) { - buf.append(sal_Unicode(' ')); buf.append(extension); } rtl::OUString product(buf.makeStringAndClear()); @@ -375,6 +374,8 @@ UpdateInformationProvider::UpdateInformationProvider( i += product.getLength(); } + SAL_INFO("extensions.update", "UpdateUserAgent: " << aUserAgent); + m_aRequestHeaderList[0].Name = "Accept-Language"; m_aRequestHeaderList[0].Value = getConfigurationItem( xConfigurationProvider, "org.openoffice.Setup/L10N", "ooLocale" ); if( !aUserAgent.isEmpty() ) |