mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-04 02:55:26 +00:00
Monotone-Parent: e862ec9df7a40d9361fca6b959f96c844ff74060
Monotone-Revision: 281488f5ccd9072f8845d50a816057f4a181d5b9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-11-26T20:44:58 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user