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 */