Consistently get the self URL.
This ensures all uses of the self URL get the same normalized/sanitized value.
This commit is contained in:
@@ -54,7 +54,7 @@ class Sanitizer {
|
||||
}
|
||||
|
||||
private static function is_prefix_https(): bool {
|
||||
return parse_url(Config::get(Config::SELF_URL_PATH), PHP_URL_SCHEME) == 'https';
|
||||
return parse_url(Config::get_self_url(), PHP_URL_SCHEME) == 'https';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user