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
This commit is contained in:
parent
5fd7c66733
commit
d77b25384b
1 changed files with 2 additions and 1 deletions
|
@ -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() )
|
||||
|
|
Loading…
Reference in a new issue