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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to