From 766f799f4459c9e682ca8d1a3cc4a4894cccc9a2 Mon Sep 17 00:00:00 2001 From: trendschau Date: Wed, 3 Jan 2024 15:43:19 +0100 Subject: [PATCH] v2.1 delete port from uri --- system/typemill/Static/Helpers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/typemill/Static/Helpers.php b/system/typemill/Static/Helpers.php index 564d85b..8aa9f31 100644 --- a/system/typemill/Static/Helpers.php +++ b/system/typemill/Static/Helpers.php @@ -9,6 +9,7 @@ class Helpers{ public static function urlInfo($uri) { $uri = $uri->withUserInfo(''); + $uri = $uri->withPort(null); $basepath = preg_replace('/(.*)\/.*/', '$1', $_SERVER['SCRIPT_NAME']); $currentpath = $uri->getPath();