You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Rameez Raja (JIRA)" <ji...@apache.org> on 2015/01/10 11:29:34 UTC
[jira] [Created] (CB-8290) Cordova contacts plugin crashes if any
one has a contact name with new line chars.
Rameez Raja created CB-8290:
-------------------------------
Summary: Cordova contacts plugin crashes if any one has a contact name with new line chars.
Key: CB-8290
URL: https://issues.apache.org/jira/browse/CB-8290
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 3.5.0
Environment: iPhone 4, 5, 6
Reporter: Rameez Raja
When i tried to search contacts using cordova contacts plugin, it crashes when a contact has line break chars in its name (i.e. formatted, given, family etc). For example i have a contact name in phone ABC<press return>DEF.
Cordova plugin is returning this name as
...
name: {
formatted: 'ABC\U2028DEF'
...
}
...
which is causing issue. Because it is not a valid JSON object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org