[Libreoffice-commits] core.git: extensions/source
Petr Mladek
pmladek at suse.cz
Mon Feb 18 02:31:26 PST 2013
extensions/source/update/feed/updatefeed.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit d77b25384bfcfcbcce32af8038ff857738406a45
Author: Petr Mladek <pmladek at suse.cz>
Date: Mon Feb 18 11:03:12 2013 +0100
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
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 045ac07..e83ae0c 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() )
More information about the Libreoffice-commits
mailing list