]> 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>
Fri, 13 Feb 2015 11:49:34 +0000 (12:49 +0100)
commit9904b300700d916af5c0aa9c36fed7e5e589d12d
tree2718a6226352cd407dd60e2a566f816cdb819b32
parent51f8d240c1c7a2c5fe4ab89854aeae02a33406b4
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