Skip to content
Unverified Commit 1f21a132 authored by Vincent Petry's avatar Vincent Petry Committed by Lukas Reschke
Browse files

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: default avatarLukas Reschke <lukas@statuscode.ch>
parent 9e91a76b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment