Skip to content

Commit

Permalink
Update lib/handlers/put.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
zg009 and TallTed authored Mar 21, 2024
1 parent d5a6103 commit 1a8987e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/handlers/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 1a8987e

Please sign in to comment.