]> source.dussan.org Git - nextcloud-server.git/commit
Make sure mountOptions keep their data type
authorVincent Petry <pvince81@owncloud.com>
Thu, 26 Mar 2015 18:24:37 +0000 (19:24 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 26 Mar 2015 18:24:37 +0000 (19:24 +0100)
commit58b4c2c0e53ff5ef6e261426ecb2b94d9791da71
tree5474559ea90ba4fa1c1438a33fbd1bc0c0824479
parentca6b715b31bbfea7724dd8659e2a1e61098a31a5
Make sure mountOptions keep their data type

str_replace for $user substitution was converting the data type of
mountOptions to string. This fix prevents this to happen by making sure
only strings are processed by substitution.

Also added a int conversion when reading the watcher policy
apps/files_external/lib/config.php
apps/files_external/tests/mountconfig.php
lib/private/files/storage/common.php