From 1a8987e9ca369885f6d263e455eb12e85dfe9d24 Mon Sep 17 00:00:00 2001 From: zg009 <103973669+zg009@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:53:17 -0500 Subject: [PATCH] Update lib/handlers/put.js Co-authored-by: Ted Thibodeau Jr --- lib/handlers/put.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/handlers/put.js b/lib/handlers/put.js index 05bf8b30..958c85d1 100644 --- a/lib/handlers/put.js +++ b/lib/handlers/put.js @@ -10,8 +10,8 @@ const { stringToStream } = require('../utils') const RESERVED_SUFFIXES = ['.acl', '.meta'] /** - * This function is used to make sure a resource or container which contains - * reserved suffixes for auxiliary documents cannot be created. + * This function is used to prevent creation of a resource or container + * which contains auxiliary documents named with reserved suffixes. * @param {string} path - the uri to check for invalid suffixes * @returns {boolean} true is fail - if the path contains reserved suffixes */