]> source.dussan.org Git - nextcloud-server.git/commit
Fixed various file name escaping issues in core apps
authorVincent Petry <pvince81@owncloud.com>
Fri, 10 Jan 2014 14:02:26 +0000 (15:02 +0100)
committerVincent Petry <pvince81@owncloud.com>
Sun, 12 Jan 2014 14:42:10 +0000 (15:42 +0100)
commit3f7550cdcf7e7e1f1bb6a529255a09a47e8c7cc5
treec0a699733108e0aa2a95dde3d0b8adb0341c84ec
parent48cd4adfb48a180e6bc869e3ffff5391ff33883b
Fixed various file name escaping issues in core apps

- Refactored file tr lookup into FileList.findFileEl that uses
  filterAttr to avoid escaping issues in jQuery selectors
- Fixed versions and sharing app to properly escape file names in
  attributes
- Prevent uploading file name with invalid characters

Backport to stable5 of 1042733
apps/files/js/file-upload.js
apps/files/js/fileactions.js
apps/files/js/filelist.js
apps/files/js/files.js
apps/files_sharing/js/public.js
apps/files_sharing/js/share.js
apps/files_trashbin/js/trash.js
apps/files_versions/js/versions.js