Skip to content

Commit 141868d

Browse files
zg009TallTed
andauthored
Update lib/ldp.js
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent f6ef443 commit 141868d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ldp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class LDP {
162162
} else if (this.isAuxResource(slug, extension)) throw error(403, 'POST to auxiliary resources is not allowed')
163163

164164
if (slug.match(/\/|\||:/)) {
165-
throw error(400, 'The name of new file POSTed may not contain : | or /')
165+
throw error(400, 'The name of a POSTed new file may not contain ":" (colon), "|" (pipe), or "/" (slash)')
166166
}
167167
}
168168

0 commit comments

Comments
 (0)