Skip to content

Commit 3154808

Browse files
committed
Fix KernelOpen qhelp
1 parent d8752a0 commit 3154808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/src/queries/security/cwe-078/KernelOpen.inc.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The same vulnerability applies to <code>IO.read</code>, <code>IO.write</code>,
1818
does not have this vulnerability. Similarly, use the methods from the <code>File</code>
1919
class instead of the <code>IO</code> class e.g. <code>File.read</code> instead
2020
of <code>IO.read</code>.</p>
21-
<p>Instead of <code>URI.open</code> use <code>URI(<uri>).open</code> or an HTTP Client.</p>
21+
<p>Instead of <code>URI.open</code> use <code>URI(..).open</code> or an HTTP Client.</p>
2222

2323
</recommendation>
2424
<example>

0 commit comments

Comments
 (0)