summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-09-18 17:47:22 +0200
committerGitHub <noreply@github.com>2017-09-18 17:47:22 +0200
commit1995c699284a1dc522ccb5d7035fd1dca277b10e (patch)
treed355bc75303f71eea701da51492fc924a3df086a /core
parentca5c3f839affb1acefc3b3d4170e13a030da613f (diff)
parentf0c7b8f264e3119dc4829c10e98f92557cc2f342 (diff)
downloadnextcloud-server-1995c699284a1dc522ccb5d7035fd1dca277b10e.tar.gz
nextcloud-server-1995c699284a1dc522ccb5d7035fd1dca277b10e.zip
Merge pull request #4410 from nextcloud/update-aws-sdk
Update aws sdk + s3 improvements
Diffstat (limited to 'core')
-rw-r--r--core/vendor/core.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/vendor/core.js b/core/vendor/core.js
index 8cdb203aacd..bda270892ad 100644
--- a/core/vendor/core.js
+++ b/core/vendor/core.js
@@ -5551,6 +5551,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]) {
@@ -5596,6 +5599,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];