nextcloud/lib/private/Files
Vincent Petry 7535d3e391
Only use realpath for real directories (#26060)
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/26060

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:22:46 +02:00
..
Cache Adding test case for getPathById including a jailed cache where root is just empty 2016-08-10 11:29:11 +02:00
Config Prevent error with orphaned shares when updating user mount cache 2016-08-30 19:45:22 +02:00
Mount prevent infinite recursion while getting storage from mount 2016-08-23 13:59:01 +02:00
Node Run the license script 2016-07-22 11:40:41 +02:00
ObjectStore Run the license script 2016-07-22 11:40:41 +02:00
Storage Only use realpath for real directories (#26060) 2016-09-26 11:22:46 +02:00
Stream Run the license script 2016-07-22 11:40:41 +02:00
Type Correctly remove the charset from finfo mimetype 2016-09-08 09:20:34 +02:00
Utils Store the shared propagator instance 2016-08-10 10:59:56 +02:00
FileInfo.php Run the license script 2016-07-22 11:40:41 +02:00
Filesystem.php Run the license script 2016-07-22 11:40:41 +02:00
View.php Run the license script 2016-07-22 11:40:41 +02:00