Skip to content

Commit 034ed17

Browse files
Apply suggestions from code review
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent bc9396e commit 034ed17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/ql/src/Security/CWE-022/TaintedPath.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ path separators or ".." sequences.
6464
Note that this approach is only suitable if the input is expected to be a single file name.
6565
</p>
6666
<p>
67-
If the input can be a path with multiple components, we can make it safe by verifying
67+
If the input can be a path with multiple components, you can make it safe by verifying
6868
that the path is within a specific directory that is considered safe.
69-
This can be done by resolving the input with respect to that directory, and then checking
69+
You can do this by resolving the input with respect to that directory, and then checking
7070
that the resulting path is still within it.
7171
</p>
7272
<sample src="TaintedPathGood2.go" />

0 commit comments

Comments
 (0)