ucb/source/ucp/webdav-curl/webdavcontent.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 09730ea0ccfe63982cdb869d5eaa906982283bf1 Author: Giuseppe Castagno <[email protected]> AuthorDate: Fri Jan 29 15:39:17 2016 +0100 Commit: Michael Stahl <[email protected]> CommitDate: Mon Nov 1 18:29:28 2021 +0100 ucb: webdav-curl: Related tdf#95217: Force HEAD method in Web access if PROPFIND failed [ port of commit d61352f58a7f750d3b0b0a9c2d6498fbb7a6e10d ] Change-Id: Id945be7a1f71c830f3ab15c54fbf65a32be71a2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123278 Tested-by: Michael Stahl <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx b/ucb/source/ucp/webdav-curl/webdavcontent.cxx index f06169f323ba..040b0df99214 100644 --- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx @@ -1379,6 +1379,9 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( if ( bNetworkAccessAllowed ) { + if( eType != DAV ) + m_bDidGetOrHead = false; + // All properties obtained already? std::vector< OUString > aMissingProps; if ( !( xProps
