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.
6464Note 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
6868that 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
7070that the resulting path is still within it.
7171</p >
7272<sample src =" TaintedPathGood2.go" />
You can’t perform that action at this time.
0 commit comments