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
normalize root before setting it in FilesView #24329
Conversation
also cc @tigermick @davivel |
Also @icewind1991 |
Looking at how the tests fail I'm guessing this isn't going to be that simple :( |
Yeah, that is dangerous territory... especially due to the unlogical and inconsistent way how the View is used. |
In my case |
So far I'd suggest putting on gloves and only fixing the problem in the calling code only, remove the duplicate slash if needed. |
@PVince81 @oparoz @georgehrke it's working for me ! My problem about thumbnails in external local storage in owncloud app is solved ! |
I'm not sure if fixing only the external storage when using the thumbnail API is the best approach here.
cc @icewind1991 |
Too bad we don't have a "comparePath" function... |
What about normalizing both |
or use some |
Would probably be sense to normalize the incoming path in |
okay, will try it :) |
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. |
fixes #21173
please test @PVince81 @oparoz