]> source.dussan.org Git - nextcloud-server.git/commit
Prevent directory traversals in ctr of \OC\Files\View
authorLukas Reschke <lukas@owncloud.com>
Wed, 18 Feb 2015 15:01:24 +0000 (16:01 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 18 Feb 2015 17:17:33 +0000 (18:17 +0100)
commit41e5850450d962deff277cb713b8d057e9749dbf
treef1fa93e285337ea596d10a3f695a634124d3ccac
parent8d09cc3b91a9689a6c95e06c8002288bdd8d5bbf
Prevent directory traversals in ctr of \OC\Files\View

This prevents a misusage of \OC\Files\View by calling it with user-supplied input. In such cases an exception is now thrown.
lib/private/files/view.php
tests/lib/files/view.php