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

Cross-Site Scripting: Inter-Component Communication #349

Open
QiAnXinCodeSafe opened this issue Feb 27, 2020 · 0 comments
Open

Cross-Site Scripting: Inter-Component Communication #349

QiAnXinCodeSafe opened this issue Feb 27, 2020 · 0 comments

Comments

@QiAnXinCodeSafe
Copy link

Intent intent = getIntent();
String url = intent.getStringExtra(PARAM_URL);

sonicSession = SonicEngine.getInstance().createSession(url, sessionConfigBuilder.build());
if (null != sonicSession) {
sonicSession.bindClient(sonicSessionClient = new SonicSessionClientImpl());


public void clientReady() {
if (session != null) {
session.onClientReady();


public void loadUrl(String url, Bundle extraData) {
webView.loadUrl(url);

Sending unvalidated data to a web browser can result in the browser executing malicious code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant