From fc0f5d9d984df9a30a2a9e0ca25cdbbd15847a34 Mon Sep 17 00:00:00 2001 From: smizrahi Date: Mon, 29 Jan 2024 10:56:17 +0100 Subject: [PATCH] feat(core): Add URL encryption for GDPR compliancy. Fix redirect issue --- UI/MainUI/SOGoRootPage.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MainUI/SOGoRootPage.m b/UI/MainUI/SOGoRootPage.m index 7035357ab..98cf68c07 100644 --- a/UI/MainUI/SOGoRootPage.m +++ b/UI/MainUI/SOGoRootPage.m @@ -575,7 +575,7 @@ static const NSString *kJwtKey = @"jwt"; response = [self redirectToLocation: [NSString stringWithFormat: @"%@%@", oldLocation, - [login stringByEscapingURL]]]; + [[SOGoUser getEncryptedUsernameIfNeeded:login] stringByEscapingURL]]]; } else {