ucb/source/ucp/webdav-curl/webdavcontent.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 8c4302a503053251b6360c128a1dcd556f09c5df
Author:     Giuseppe Castagno <giuseppe.casta...@acca-esse.eu>
AuthorDate: Wed Jan 27 17:04:56 2016 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Mon Nov 1 18:38:58 2021 +0100

    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.st...@allotropia.de>
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

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 );

Reply via email to