You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I found the same bug on cordova-osx. I discovered the same issue came up on cordova-android@6, not sure if it is still an issue on cordova-android@7 or not. I investigate and report next week.
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
, functionevaluateJavaScript:completionHandler:
. The caller may pass in these special characters.Before callstringByEvaluatingJavaScriptFromString:
,we can do some filtering.The text was updated successfully, but these errors were encountered: