diff --git a/ChangeLog b/ChangeLog index c554ed6d9..9cec3647b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-12-29 Ludovic Marcotte + + * SoObjects/SOGo/SOGoSQLUserProfile.m (_sqlJsonRepresentation:): + don't escape the / character as it's generating invalid JSON + output on newer versions of PostgreSQL. + 2011-12-23 Francis Lachapelle * UI/Scheduler/UIxAppointmentEditor.m (-viewAction): the end diff --git a/SoObjects/SOGo/SOGoSQLUserProfile.m b/SoObjects/SOGo/SOGoSQLUserProfile.m index fe51966fd..4f571d92c 100644 --- a/SoObjects/SOGo/SOGoSQLUserProfile.m +++ b/SoObjects/SOGo/SOGoSQLUserProfile.m @@ -145,7 +145,6 @@ static NSString *uidColumnName = @"c_uid"; sql = [jsonRepresentation mutableCopy]; [sql autorelease]; - [sql replaceString: @"\\" withString: @"\\\\"]; [sql replaceString: @"'" withString: @"''"]; return sql;