Skip to content

Commit

Permalink
add missing </p>
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-krogh committed Jan 25, 2024
1 parent 05a59d2 commit 73e3fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-022/TaintedPath.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ unexpected special characters such as "..". Such a path could point anywhere on
<p>Common validation methods include checking that the normalized path is relative and does not contain
any ".." components, or checking that the path is contained within a safe folder. The method you should use depends
on how the path is used in the application, and whether the path should be a single path component.
</p>

<p>If the path should be a single path component (such as a file name), you can check for the existence
of any path separators ("/" or "\"), or ".." sequences in the input, and reject the input if any are found.
Expand Down

0 comments on commit 73e3fad

Please sign in to comment.