From 76c3660cb26b6ad14323737c8c5a0a9de92914d3 Mon Sep 17 00:00:00 2001 From: James Julich <51384945+jamesjulich@users.noreply.github.com> Date: Tue, 19 Oct 2021 07:39:30 -0500 Subject: [PATCH] Address 301 redirect issue and Safari regex issue. (#143) * Address 301 redirect issue and Safari regex issue. * Restored login redirect as this doesn't not fix the sso redirect #143. Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com> --- src/app/molecules/sso-buttons/SSOButtons.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/molecules/sso-buttons/SSOButtons.jsx b/src/app/molecules/sso-buttons/SSOButtons.jsx index 82e8cc4..76f865a 100644 --- a/src/app/molecules/sso-buttons/SSOButtons.jsx +++ b/src/app/molecules/sso-buttons/SSOButtons.jsx @@ -9,7 +9,7 @@ function SSOButtons({ homeserver }) { useEffect(() => { // If the homeserver passed in is not a fully-qualified domain name, do not update. - if (!homeserver.match('(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{1,63}(?