Skip to content

Conversation

@PVince81
Copy link
Contributor

@PVince81 PVince81 commented Sep 7, 2016

Backport of #26058 to stable9.1

Please review @owncloud/filesystem @DeepDiver1975 @timreeves @butonic

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.
@PVince81 PVince81 added this to the 9.1.1 milestone Sep 7, 2016
@DeepDiver1975
Copy link
Member

all green -> merge 👍

@DeepDiver1975 DeepDiver1975 merged commit 6fe8037 into stable9.1 Sep 8, 2016
@DeepDiver1975 DeepDiver1975 deleted the stable9.1-fix-openbasedir-realpath-warning branch September 8, 2016 13:14
LukasReschke pushed a commit to nextcloud/server that referenced this pull request Sep 26, 2016
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 owncloud/core#26060

Signed-off-by: Lukas Reschke <[email protected]>
MorrisJobke pushed a commit to nextcloud/server that referenced this pull request Sep 26, 2016
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 owncloud/core#26060

Signed-off-by: Lukas Reschke <[email protected]>
@lock
Copy link

lock bot commented Aug 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants