Skip to content

Commit

Permalink
README: fix typo in guarantees
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <[email protected]>
  • Loading branch information
cyphar committed Jun 15, 2021
1 parent 09a7b25 commit 8893858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ func SecureJoin(root, unsafePath string) (string, error)
This library **guarantees** the following:

* If no error is set, the resulting string **must** be a child path of
`SecureJoin` and will not contain any symlink path components (they will all
be expanded).
`root` and will not contain any symlink path components (they will all be
expanded).

* When expanding symlinks, all symlink path components **must** be resolved
relative to the provided root. In particular, this can be considered a
Expand Down

0 comments on commit 8893858

Please sign in to comment.