Remove null characters from JSON responses
parent
38790af774
commit
d526efa501
1
NEWS
1
NEWS
|
@ -39,6 +39,7 @@ Bug fixes
|
|||
- [web] restore messages selection after automatic refresh (#4330)
|
||||
- [web] fixed path of destination mailbox in Sieve filter editor
|
||||
- [web] force copy of dragged contacts from global address books
|
||||
- [web] removed null characters from JSON responses
|
||||
- [eas] hebrew folders encoding problem using EAS (#4240)
|
||||
- [eas] avoid sync requests for shared folders every second (#4275)
|
||||
|
||||
|
|
|
@ -264,6 +264,7 @@ static int cssEscapingCount;
|
|||
[representation replaceString: @"\n" withString: @"\\n"];
|
||||
[representation replaceString: @"\r" withString: @"\\r"];
|
||||
[representation replaceString: @"\t" withString: @"\\t"];
|
||||
[representation replaceString: @"\0" withString: @""];
|
||||
|
||||
return representation;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue