We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8987e commit 08886afCopy full SHA for 08886af
lib/handlers/put.js
@@ -16,7 +16,7 @@ const RESERVED_SUFFIXES = ['.acl', '.meta']
16
* @returns {boolean} true is fail - if the path contains reserved suffixes
17
*/
18
function containsInvalidSuffixes (path) {
19
- // if it is a container, no suffix so remove last slash
+ // if it is a container, no suffix, so remove last slash
20
if (path.endsWith('/')) {
21
path = path.slice(0, -1)
22
} else {
0 commit comments