Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2013-11-25 20:43:34 +0400
committerOlivier Goffart <ogoffart@woboq.com>2013-11-25 20:48:57 +0400
commitca3d8ab1936ebbd7b7cef7e805d683e6ed2bfebb (patch)
treef6252f710a928b8fa64e9e13d65e77d3c81913c1
parentd85009a2e91a2221de60d3fe5f5f88bf31879008 (diff)
Add one case of missing -gzip removal
-rw-r--r--src/mirall/owncloudpropagator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mirall/owncloudpropagator.cpp b/src/mirall/owncloudpropagator.cpp
index 8ae97805d..b527948cf 100644
--- a/src/mirall/owncloudpropagator.cpp
+++ b/src/mirall/owncloudpropagator.cpp
@@ -393,6 +393,10 @@ void PropagateUploadFile::start()
if( trans->modtime_accepted ) {
_item._etag = QByteArray(hbf_transfer_etag( trans.data() ));
+ if (_item._etag.endsWith("-gzip")) {
+ // https://github.com/owncloud/mirall/issues/1195
+ _item._etag.chop(5);
+ }
} else {
updateMTimeAndETag(uri.data(), _item._modtime);
}