You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/02/02 19:22:37 UTC
[jira] [Updated] (CB-8290) Cordova contacts plugin crashes if any
one has a contact name with new line chars.
[ https://issues.apache.org/jira/browse/CB-8290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-8290:
---------------------------------
Component/s: (was: iOS)
Plugin Contacts
> 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: Plugin Contacts
> 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