diff --git a/ChangeLog b/ChangeLog index 21a7f0841..b8ca1bcd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * SoObjects/SOGo/SOGoUserDefaults.m (-synchronize): avoid fetching the values from the database/the cache when they are successfully stored. + (-fetchJSONProfileFromDB): sql-quoted quote characters do not + apply here. Therefore we no longer need to unescape them. * SoObjects/SOGo/SOGoCache.m (_cacheValues:ofType:forLogin:): we also fill the local cache with the new value to avoid ignoring it diff --git a/SoObjects/SOGo/SOGoUserDefaults.m b/SoObjects/SOGo/SOGoUserDefaults.m index 55472cc50..9b0f6c911 100644 --- a/SoObjects/SOGo/SOGoUserDefaults.m +++ b/SoObjects/SOGo/SOGoUserDefaults.m @@ -136,8 +136,8 @@ static NSString *uidColumnName = @"c_uid"; if ([value isNotNull]) { defFlags.isNew = NO; -#warning The result is supposed to be unescaped, why re-unescaping it here ? - value = [value stringByReplacingString: @"''" withString: @"'"]; + /* The following enables the restitution of coded unicode (\U1234) + characters with the Oracle adaptor. */ value = [value stringByReplacingString: @"\\\\" withString: @"\\"]; } else