]> source.dussan.org Git - nextcloud-server.git/commit
Added file name check in webdav connector
authorVincent Petry <pvince81@owncloud.com>
Mon, 13 Jan 2014 12:14:05 +0000 (13:14 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 18 Feb 2014 16:54:32 +0000 (17:54 +0100)
commitbd71a1b7b66f02b3630da44e24b48e29f3d02f17
treecaf60bd54c1155194101422d201a8083a3148799
parent797e0a614cc44e627a54dfd39ce4047d176ebd9b
Added file name check in webdav connector

- added file name check for the put, rename and setNames() methods which
  throw a "Bad Request" whenever invalid characters are used
- replaced \OC\Filesystem usage with $this->getFS() to be able to write
  unit tests
lib/private/connector/sabre/file.php
lib/private/connector/sabre/node.php
lib/private/connector/sabre/objecttree.php
tests/lib/connector/sabre/file.php
tests/lib/connector/sabre/objecttree.php