diff --git a/src/Control/Director.php b/src/Control/Director.php index c97364a2481..a508c8bbaa0 100644 --- a/src/Control/Director.php +++ b/src/Control/Director.php @@ -470,6 +470,7 @@ public static function absoluteURL($url, $relativeParent = self::BASE) // Default to respecting site base_url $parent = self::absoluteBaseURL(); } + static::singleton()->extend('updateAbsoluteURLParent', $parent); // Map empty urls to relative slash and join to base if (empty($url) || $url === '.' || $url === './') {