-
-
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
Make it possible to resolve svg's outside \OC::$SERVERROOT #19084
Conversation
d0a5fe0
to
875c5e1
Compare
I don't get what this tries to solve... |
Yes description is missing some details 🙈 This PR should fix a issue with resolving the path for svg files for app directories outside the document root. It's related to #13556 but not a fix for the ResourceLocator warning. Here are the details: #13556 (comment) I have no idea what the current approach should do. But If this patch is accepted it's possible to return svg's also for apps not reachable from the web. That makes no sense but was forbidden before. I think the actual issue is somewhere else: #13556 (comment) For whatever reason symlinks are resolved at some point (probably to make other features work) but that's the actual issue. Nextcloud should work with symlinks. |
I think that this summarizes it quite well: for the snap to work OK, this is required. Any news on this? Do you need more info @rullzer ? |
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.
Didn't test but the change looks good and the unit tests should prove it
Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
875c5e1
to
d766d09
Compare
@kesselb Backport to stable18? |
I would prefer to not backport it ;) |
Resolve update blocker for snap.
Is this pr backportable? Alternatively we could keep the current approach and add the patch as fallback.