We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66b0f6d + 79bcb9d commit 16e6f9cCopy full SHA for 16e6f9c
1 file changed
apps/settings/lib/SetupChecks/WellKnownUrls.php
@@ -81,7 +81,7 @@ public function run(): SetupResult {
81
if (!$works && $response->getStatusCode() === 401) {
82
$redirectHops = explode(',', $response->getHeader('X-Guzzle-Redirect-History'));
83
$effectiveUri = end($redirectHops);
84
- $works = str_ends_with($effectiveUri, '/remote.php/dav/');
+ $works = str_ends_with(rtrim($effectiveUri, '/'), '/remote.php/dav');
85
}
86
87
// Skip the other requests if one works
0 commit comments