crmo opened a new issue #402: Line separator (U+2028) and paragraph separator (U+2029) Got JS Exception SyntaxError URL: https://github.com/apache/cordova-ios/issues/402 When Objective-c call JavaScript use function `stringByEvaluatingJavaScriptFromString:` with Line separator (U+2028) or paragraph separator (U+2029), JavaScript will get error. In `CDVUIWebViewEngine.m`, function `evaluateJavaScript:completionHandler:`. The caller may pass in these special characters.Before call `stringByEvaluatingJavaScriptFromString:`,we can do some filtering.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org