From 08886afa474cf29752e33f2dfdc64abe93293101 Mon Sep 17 00:00:00 2001 From: zg009 <103973669+zg009@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:53:26 -0500 Subject: [PATCH] Update lib/handlers/put.js Co-authored-by: Ted Thibodeau Jr --- lib/handlers/put.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handlers/put.js b/lib/handlers/put.js index 958c85d1..b2583e06 100644 --- a/lib/handlers/put.js +++ b/lib/handlers/put.js @@ -16,7 +16,7 @@ const RESERVED_SUFFIXES = ['.acl', '.meta'] * @returns {boolean} true is fail - if the path contains reserved suffixes */ function containsInvalidSuffixes (path) { - // if it is a container, no suffix so remove last slash + // if it is a container, no suffix, so remove last slash if (path.endsWith('/')) { path = path.slice(0, -1) } else {