Skip to content

Commit 8893858

Browse files
committed
README: fix typo in guarantees
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
1 parent 09a7b25 commit 8893858

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ func SecureJoin(root, unsafePath string) (string, error)
2929
This library **guarantees** the following:
3030

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

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

0 commit comments

Comments
 (0)