File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
go/ql/src/Security/CWE-022 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ path separators or ".." sequences.
64
64
Note that this approach is only suitable if the input is expected to be a single file name.
65
65
</p >
66
66
<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
68
68
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
70
70
that the resulting path is still within it.
71
71
</p >
72
72
<sample src =" TaintedPathGood2.go" />
You can’t perform that action at this time.
0 commit comments