Skip to content

Commit 31bf86f

Browse files
committed
Rust: Improve the flow around the qhelp example.
1 parent 0eb602a commit 31bf86f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rust/ql/src/queries/security/CWE-319/UseOfHttp.qhelp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ Then, any connections that are made using that URL are secure SSL/TLS connection
1919
</recommendation>
2020
<example>
2121

22-
<p>The following example shows two ways of making a network request using a URL. When the request is
22+
<p>The following examples show two ways of making a network request using a URL. When the request is
2323
made using an HTTP URL rather than an HTTPS URL, the connection is unsecured and can be intercepted
24-
by attackers. When the request is made using an HTTPS URL, the connection is a secure SSL/TLS connection.</p>
24+
by attackers:</p>
2525

2626
<sample src="UseOfHttpBad.rs" />
2727

28-
<p>A better approach is to use HTTPS:</p>
28+
<p>A better approach is to use HTTPS. When the request is made using an HTTPS URL, the connection
29+
is a secure SSL/TLS connection:</p>
2930

3031
<sample src="UseOfHttpGood.rs" />
3132

0 commit comments

Comments
 (0)