diff --git a/SoObjects/SOGo/SOGoWebAuthenticator.m b/SoObjects/SOGo/SOGoWebAuthenticator.m index 48bf6d2c5..cfe2482f0 100644 --- a/SoObjects/SOGo/SOGoWebAuthenticator.m +++ b/SoObjects/SOGo/SOGoWebAuthenticator.m @@ -285,7 +285,9 @@ inContext: context]; assertion = [[session assertion] dataUsingEncoding: NSUTF8StringEncoding]; - password = [[assertion gzip] stringByEncodingBase64]; + password = [[[assertion compress] stringByEncodingBase64] + stringByReplacingString: @"\n" + withString: @""]; } #endif }