Skip to content

Conversation

@nickvergessen
Copy link
Member

Seems that some paths inside the external storage logic don't contain the protocol. Since it's too hard to track down within the full code base, it's easier to simply enforce the protocol within the cloud ID manager.
I had ended up with:

 Undefined array key 1 at apps/files_sharing/lib/External/Cache.php#25

[, $remote] = explode('://', $cloudId->getRemote(), 2);

Checklist

@nickvergessen
Copy link
Member Author

/backport to stable29

@ArtificialOwl
Copy link
Member

faced the issue while working on https://github.com/nextcloud/server/pull/45979/files#diff-70371b3022845d468bcd2be6a3dd06d5ffe655f958f1b737bb5a107a206e3f2c
quickly fixed on my side but i guess it is now useless :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants