From 9d6edc06222888ffc741889f3f518586f741855a Mon Sep 17 00:00:00 2001 From: Djam Date: Wed, 6 May 2026 13:02:43 +0200 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Djam --- plugins/auth/src/components/ConsentPage/ConsentPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/auth/src/components/ConsentPage/ConsentPage.tsx b/plugins/auth/src/components/ConsentPage/ConsentPage.tsx index d72f7ee782..d24dc4e3b0 100644 --- a/plugins/auth/src/components/ConsentPage/ConsentPage.tsx +++ b/plugins/auth/src/components/ConsentPage/ConsentPage.tsx @@ -48,7 +48,7 @@ const ConsentPageLayout = ({ children }: { children: React.ReactNode }) => ( function getUrlHostname(value: string): string | undefined { try { - return new URL(value).hostname; + return new URL(value).host; } catch { return undefined; }