summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-15 17:03:32 +0200
committerGitHub <noreply@github.com>2017-09-15 17:03:32 +0200
commit66a5a45c503269699666df61c605d67f3c72c7c0 (patch)
treed85744cd835f7071ff4e174fc183a812a1942515
parent2372e2d849187bae50d81effa946f8c448f8315f (diff)
parent6d2bff46c95615a774e9701c02da0cd4fc3561b5 (diff)
downloadnextcloud-server-66a5a45c503269699666df61c605d67f3c72c7c0.tar.gz
nextcloud-server-66a5a45c503269699666df61c605d67f3c72c7c0.zip
Merge pull request #6488 from nextcloud/vendor-davclient.js-0.1.2
vendor: Update davclient.js to 0.1.2
-rw-r--r--bower.json2
-rw-r--r--core/vendor/davclient.js/.bower.json13
-rw-r--r--core/vendor/davclient.js/lib/client.js7
3 files changed, 14 insertions, 8 deletions
diff --git a/bower.json b/bower.json
index 9153272fb03..3808a698163 100644
--- a/bower.json
+++ b/bower.json
@@ -29,7 +29,7 @@
"underscore": "~1.8.0",
"bootstrap": "~3.3.6",
"backbone": "~1.2.3",
- "davclient.js": "https://github.com/evert/davclient.js.git#0.1.1",
+ "davclient.js": "https://github.com/evert/davclient.js.git#0.1.2",
"es6-promise": "https://github.com/jakearchibald/es6-promise.git#~2.3.0",
"base64": "~0.3.0",
"clipboard": "^1.5.12",
diff --git a/core/vendor/davclient.js/.bower.json b/core/vendor/davclient.js/.bower.json
index 485af9e0885..f991c688731 100644
--- a/core/vendor/davclient.js/.bower.json
+++ b/core/vendor/davclient.js/.bower.json
@@ -1,6 +1,6 @@
{
"name": "davclient.js",
- "version": "0.1.1",
+ "version": "0.1.2",
"authors": [
"Evert Pot <me@evertpot.com>"
],
@@ -20,14 +20,13 @@
"test",
"tests"
],
- "_release": "0.1.1",
+ "_release": "0.1.2",
"_resolution": {
"type": "version",
- "tag": "0.1.1",
- "commit": "a2731f81540816b212c09d14596621cb070a4f10"
+ "tag": "0.1.2",
+ "commit": "c735ca284175c6f0419a2dd73de43de611afdb8f"
},
"_source": "https://github.com/evert/davclient.js.git",
- "_target": "0.1.1",
- "_originalSource": "https://github.com/evert/davclient.js.git",
- "_direct": true
+ "_target": "0.1.2",
+ "_originalSource": "https://github.com/evert/davclient.js.git"
} \ No newline at end of file
diff --git a/core/vendor/davclient.js/lib/client.js b/core/vendor/davclient.js/lib/client.js
index 0fc3f61f9f6..5280bb1a53a 100644
--- a/core/vendor/davclient.js/lib/client.js
+++ b/core/vendor/davclient.js/lib/client.js
@@ -70,6 +70,9 @@ dav.Client.prototype = {
' <d:prop>\n';
for(var ii in properties) {
+ if (!properties.hasOwnProperty(ii)) {
+ continue;
+ }
var property = this.parseClarkNotation(properties[ii]);
if (this.xmlNamespaces[property.namespace]) {
@@ -115,6 +118,10 @@ dav.Client.prototype = {
' <d:prop>\n';
for(var ii in properties) {
+ if (!properties.hasOwnProperty(ii)) {
+ continue;
+ }
+
var property = this.parseClarkNotation(ii);
var propName;
var propValue = properties[ii];