nextcloud/lib/private/Files
Vincent Petry 1f21a132c7
Only use realpath for real directories (#26058)
In some cross-local-storage use cases, the Local storage is
instantiated with "/" as data directory. In such cases, calling
realpath() would cause PHP warnings when open_basedir is set.

This fix bypasses the realpath() call when dealing with a root storage.

Downstreaming of https://github.com/owncloud/core/pull/26058

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:21:47 +02:00
..
Cache more efficient querying of numeric storage ids 2016-09-07 17:22:40 +02:00
Config Update CachedMountInfo for user home storage 2016-09-09 18:07:21 +03:00
Mount cache root id in mountpoint 2016-08-25 17:22:25 +02:00
Node Merge pull request #1054 from nextcloud/less-cache-hits 2016-08-27 22:44:29 +02:00
ObjectStore Update with robin 2016-07-21 18:13:58 +02:00
Storage Only use realpath for real directories (#26058) 2016-09-26 11:21:47 +02:00
Stream Update with robin 2016-07-21 18:13:58 +02:00
Type Correctly remove the charset from finfo mimetype 2016-09-05 09:48:22 +02:00
Utils Store the shared propagator instance 2016-08-10 10:57:49 +02:00
FileInfo.php Update with robin 2016-07-21 18:13:58 +02:00
Filesystem.php Update with robin 2016-07-21 18:13:58 +02:00
View.php Update with robin 2016-07-21 18:13:58 +02:00