diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-03 19:11:31 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-05-13 16:41:09 +0200 |
commit | ae74d8189f128eb0a1ab650cd6a7893c8a5e690b (patch) | |
tree | c3dece6e358af1c61de88c6ab2efa6aec0aef1ec /jvmfwk | |
parent | dc3d6a44c162cc650139ebe2a5087d35669cd9d4 (diff) |
ucb: webdav-curl: fix handling of non-standard properties
Sharepoint uses properties like these:
"http://schemas.microsoft.com/repl/resourcetag"
"urn:schemas-microsoft-com:Win32CreationTime"
They aren't standard and don't match our own ucbprops namespace, and it
looks like they should be handled by an encoding to a name like
"<prop:Win32CreationTime xmlns:prop=\"urn:schemas-microsoft-com:\">"
Unfortunately WebDAVResponseParser::endElement() didn't do that when
handling a PROPFIND reply to get the property names.
This causes a crash when all properties are copied in
UniversalContentBroker::globalTransfer(), which is called by
SfxMedium::DoBackup_Impl() when the setting
"/org.openoffice.Office.Common/Save/Document/CreateBackup"
is in effect.
Change-Id: I2d6480bfd2f828b6e7fc431ba4b333d95ec12718
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133769
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 65362d63b9019e45d1224ed6d78d4e1d443d6b00)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133727
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'jvmfwk')
0 files changed, 0 insertions, 0 deletions