Skip to content

Commit

Permalink
Update apps/settings/lib/SetupChecks/CheckServerResponseTrait.php
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux and come-nc authored Sep 13, 2024
1 parent 18d3b4f commit 832d41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/SetupChecks/CheckServerResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected function getTestUrls(string $url, bool $isRootRequest = false): array
/**
* Strip a trailing slash and remove the webroot if requested.
* @param string $url The URL to normalize. Should be an absolute URL containing scheme, host and optionally web-root.
* @param string $removeWebroot If set the web-root is removed from the URL and an absolute URL with only the scheme and host (optional port) is returned
* @param bool $removeWebroot If set the web-root is removed from the URL and an absolute URL with only the scheme and host (optional port) is returned
*/
protected function normalizeUrl(string $url, bool $removeWebroot): string {
if ($removeWebroot) {
Expand Down

0 comments on commit 832d41e

Please sign in to comment.