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

Use evaluateJavascript for WebView postMessage, if available #19655

Closed

Commits on Jun 11, 2018

  1. Use evaluateJavascript for postMessage, if available. Fixes facebook#…

    …19611
    
    loadUrl's behavior on Android 4.4+ is to URL decode the input prior
    to evaluating it, so a `%22` in the input will be decoded to `"`. Since
    it is not escaped, this quote introduces a syntax error into the
    javascript, preventing execution.
    jordoh committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    d9e2936 View commit details
    Browse the repository at this point in the history