-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set proper root path for single file shares originating from other storages #16632
Conversation
@icewind1991 I'd like your take on this. |
remove the check for empty |
d5f19c1
to
fdf63bc
Compare
Applied. Please have a look at the new diff as I didn't test this nor have a clue what I just changed 😉 |
patch changed fundamentally
@juliushaertl kill or redo? |
let me rebase... |
fdf63bc
to
9c4c786
Compare
…orages Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Robin Appelman <robin@icewind.nl>
9c4c786
to
2879472
Compare
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 32410: failuremariadb10.4-php7.3Show full log
acceptance-app-files
Show full log
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
fixed the test and removed the if statement that isn't relevant anyway |
@icewind1991 +1 then? |
Fixes #16617
The main issue here seems to be that the SharedStorage assumes an non-empty result of getUnjailedPath in
server/apps/files_sharing/lib/SharedStorage.php
Line 249 in d5f19c1
I'm not 100% sure this is the right approach, so some input from @icewind1991 or @rullzer would be highly appreciated. 😉 Maybe we could even just obit the if statement checking for the getUnjailedPath not being empty?