Skip to content

function findMatchingRoute doesn't support nextcloud hosted in subdirectory #24144

@StCyr

Description

@StCyr

public function findMatchingRoute(string $url): array {

function assumes nextcloud is always at the webroot. Could we change that?

for example by changing substr tests by strpos?

or by adding strpos tests after the substr tests, and before the final else clause?

That shouldn't be an issue if you have good unit tests :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions