Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/issue#1692 #1778

Merged
merged 21 commits into from
Apr 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/handlers/put.js
Co-authored-by: Ted Thibodeau Jr <[email protected]>
zg009 and TallTed authored Mar 21, 2024
commit 1a8987e9ca369885f6d263e455eb12e85dfe9d24
4 changes: 2 additions & 2 deletions lib/handlers/put.js
Original file line number Diff line number Diff line change
@@ -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
*/