You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/06 01:27:17 UTC

[GitHub] crmo opened a new issue #402: Line separator (U+2028) and paragraph separator (U+2029) Got JS Exception SyntaxError

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org