Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line separator (U+2028) and paragraph separator (U+2029) Got JS Exception SyntaxError #402

Closed
crmo opened this issue Sep 6, 2018 · 2 comments
Assignees
Labels

Comments

@crmo
Copy link
Contributor

crmo commented Sep 6, 2018

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.

@brodycj
Copy link
Contributor

brodycj commented Oct 16, 2018

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.

@brodycj brodycj self-assigned this Jan 10, 2019
@dpogue
Copy link
Member

dpogue commented Aug 29, 2024

As per the comments and justification in #403, I'm going to close this as "not planned".

@dpogue dpogue closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants