summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-01-29 15:39:17 +0100
committerjan iversen <jani@documentfoundation.org>2016-01-30 07:43:51 +0000
commitd61352f58a7f750d3b0b0a9c2d6498fbb7a6e10d (patch)
tree4f6dda2d987ac30915f471f5247e77428c6047fe
parente973b342826e54f147251b132c3325d30749e312 (diff)
Related tdf#95217: Force HEAD method in Web access if PROPFIND failed
Change-Id: I9ad798aa8e0909b162f3e1e33c0bc19d4fc7f484 Reviewed-on: https://gerrit.libreoffice.org/21907 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index b9bf065030f1..ab05fe82a6f7 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -1385,6 +1385,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.get()