mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
add missing </p>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user