summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-01-27 17:04:56 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-11-01 18:38:58 +0100
commit8c4302a503053251b6360c128a1dcd556f09c5df (patch)
treedcb11c48fbf0c8c431ce8c546bd5df5e159796a5
parentc155b4137678455294db605e0332b097ef51dc1a (diff)
ucb: webdav-curl: tdf#101094 (15) OPTIONS: Options cache removal: MKCOL
[ port of commit 1596379bc00a32bc3b4e76a53aa884112b21764b ] Change-Id: If217fde550ef55375e4743de00dcb325a89674c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123467 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r--ucb/source/ucp/webdav-curl/webdavcontent.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
index cc7578a2ca49..d9f925b2151d 100644
--- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
@@ -2441,7 +2441,10 @@ void Content::insert(
xResAccess->setURL( aURL );
if ( bCollection )
+ {
xResAccess->MKCOL( Environment );
+ aStaticDAVOptionsCache.removeDAVOptions( aTargetUrl );
+ }
else
{
xResAccess->PUT( xInputStream, Environment );