diff --git a/src/App/BaseURL.php b/src/App/BaseURL.php index 0ebf72dbf8..7aaafdc8bf 100644 --- a/src/App/BaseURL.php +++ b/src/App/BaseURL.php @@ -42,8 +42,7 @@ class BaseURL extends Uri implements UriInterface /* Relative script path to the web server root * Not all of those $_SERVER properties can be present, so we do by inverse priority order */ - $relativeScriptPath = - ($server['REDIRECT_URL'] ?? '') ?: + $relativeScriptPath = ($server['REDIRECT_URL'] ?? '') ?: ($server['REDIRECT_URI'] ?? '') ?: ($server['REDIRECT_SCRIPT_URL'] ?? '') ?: ($server['SCRIPT_URL'] ?? '') ?: