-
-
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
function findMatchingRoute doesn't support nextcloud hosted in subdirectory #24144
Labels
Comments
Current behaviour causes issues like these: nextcloud/mail#4044 |
skjnldsv
added
bug
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
labels
Dec 30, 2020
cc @nextcloud/server-triage |
If I can help.... |
mejo-
added a commit
that referenced
this issue
Jul 14, 2021
mejo-
added a commit
that referenced
this issue
Jul 14, 2021
This should fix `Route\Router->findMatchingRoute()` on setups with Nextcloud in a subfolder. Signed-off-by: Jonas Meurer <[email protected]>
I stumbled across this issue while debugging issue "Search does not include Page contents" in the Colectives app. I opened a PR to fix this issue: #27971 |
szaimen
added
2. developing
Work in progress
and removed
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
needs info
labels
Jul 14, 2021
mejo-
added a commit
that referenced
this issue
Aug 3, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
So I went ahead and opened a new PR in order to fix this issue: #28303 Reviews welcome 😊 |
mejo-
added a commit
that referenced
this issue
Aug 3, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
mejo-
added a commit
that referenced
this issue
Aug 4, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
mejo-
added a commit
that referenced
this issue
Aug 6, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
mejo-
added a commit
that referenced
this issue
Aug 10, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
mejo-
added a commit
that referenced
this issue
Aug 10, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
mejo-
added a commit
that referenced
this issue
Aug 16, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
backportbot-nextcloud bot
pushed a commit
that referenced
this issue
Aug 16, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
backportbot-nextcloud bot
pushed a commit
that referenced
this issue
Aug 16, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
backportbot-nextcloud bot
pushed a commit
that referenced
this issue
Aug 16, 2021
This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
server/lib/private/Route/Router.php
Line 245 in 769f59e
function assumes nextcloud is always at the webroot. Could we change that?
for example by changing
substr
tests bystrpos
?or by adding
strpos
tests after thesubstr
tests, and before the finalelse
clause?That shouldn't be an issue if you have good unit tests :-)
The text was updated successfully, but these errors were encountered: