]> source.dussan.org Git - nextcloud-server.git/commit
Ensure that passed argument is always a string
authorLukas Reschke <lukas@owncloud.com>
Fri, 13 Feb 2015 11:49:34 +0000 (12:49 +0100)
committerLukas Reschke <lukas@owncloud.com>
Mon, 1 Jun 2015 15:06:16 +0000 (17:06 +0200)
commit5fa749cd9656ca6eab30bac0ef4e7625b8a8be2e
treea6113361f900509241e5711569c82336e834c9f9
parenta15710afad054953cc348f2dd719c73b60985bce
Ensure that passed argument is always a string

Some code paths called the `normalizePath` functionality with types other than a string which resulted in unexpected behaviour.

Thus the function is now manually casting the type to a string and I corrected the usage in list.php as well.
apps/files/ajax/list.php
lib/private/files/filesystem.php