Skip to content

Commit 55090ec

Browse files
egregius313subatoi
andauthored
Java: Typos and minor fixes
Co-authored-by: Ben Ahmady <[email protected]>
1 parent e31521b commit 55090ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

java/ql/src/Security/CWE/CWE-079/AndroidWebViewSettingsEnabledJavaScript.qhelp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
</p>
1111

1212
<p>
13-
For example, if your application's WebView allows for visitng web pages
14-
which you do not trust, it is possible for an attacker to lead the user to
13+
For example, if your application's WebView allows for visiting web pages
14+
that you do not trust, it is possible for an attacker to lead the user to
1515
a page which loads malicious JavaScript.
1616
</p>
1717

1818
<p>
19-
You can enable or disbale Javascript execution using
19+
You can enable or disable Javascript execution using
2020
the <code>setJavaScriptEnabled</code> method of the settings of a WebView.
2121
</p>
2222
</overview>
@@ -30,11 +30,11 @@
3030
</recommendation>
3131

3232
<example>
33-
<p>In the following (bad) example, a WebView has JavaScript enabled in its settings.</p>
33+
<p>In the following (bad) example, a WebView has JavaScript enabled in its settings:</p>
3434

3535
<sample src="WebSettingsEnableJavascript.java"/>
3636

37-
<p>In the following (good) example, a WebView explicitly disallows JavaScript execution.</p>
37+
<p>In the following (good) example, a WebView explicitly disallows JavaScript execution:</p>
3838

3939
<sample src="WebSettingsDisableJavascript.java"/>
4040

0 commit comments

Comments
 (0)