-
-
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
Be sure to get the jailed path if the storage is a jail #16932
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for shares and group folders
ddb21b6
to
9ddcd3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works.
I've amended to also use the same approach in the mime type check. |
Should this then just happen outside this method and we only ever inject the jailed path? |
would make sense yes. |
Fixes: nextcloud/groupfolders#583 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9ddcd3a
to
f57fa23
Compare
Done, please re-review @rullzer @juliushaertl |
Perfect :) |
/backport to stable16 |
/backport to stable15 |
backport to stable16 in #16991 |
backport to stable15 in #16992 |
Fixes nextcloud/groupfolders#583
Signed-off-by: Roeland Jago Douma roeland@famdouma.nl