aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-09-19 19:01:02 +0200
committerVincent Petry <pvince81@owncloud.com>2014-09-19 19:01:02 +0200
commit8aca127e52f965871bea82cb27c6ea103baf34bb (patch)
tree8ae731e8440c93785dc8c3854127e2e2184ef601 /core/js/js.js
parent61bb19eff03d28b3725a6ab4841b4c54b9517576 (diff)
downloadnextcloud-server-8aca127e52f965871bea82cb27c6ea103baf34bb.tar.gz
nextcloud-server-8aca127e52f965871bea82cb27c6ea103baf34bb.zip
Added extra check to avoid deleting key folders
Whenever a delete operation is called twice in a row, it could happen that the first call already deleted the file. The second call would return an empty $ownerPath because the file does not exist. That empty $ownerPath would run the key deletion operation on the wrong path. This fix adds checks in many places to make sure we don't use $ownerPath when it's empty or null.
Diffstat (limited to 'core/js/js.js')
0 files changed, 0 insertions, 0 deletions