From 88938587b168876ba198c052cba0187d6bed4ad2 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Tue, 15 Jun 2021 19:38:29 +1000 Subject: [PATCH] README: fix typo in guarantees Signed-off-by: Aleksa Sarai --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9fdf40..3624617 100644 --- a/README.md +++ b/README.md @@ -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