From 2067573e5227ee96141b7f11041fa67df99b0f33 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 26 Apr 2022 12:00:34 +1200 Subject: [PATCH] Revert "FIX Revert adding extension hook" --- src/Control/Director.php | 1 + 1 file changed, 1 insertion(+) 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 === './') {