Skip to content

Commit f6ef443

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

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
@@ -159,7 +159,7 @@ class LDP {
159159
const idx = slug.lastIndexOf('.')
160160
slug = slug.substr(0, idx)
161161
}
162-
} else if (this.isAuxResource(slug, extension)) throw error(403, 'POST is not allowed for auxiliary resources')
162+
} else if (this.isAuxResource(slug, extension)) throw error(403, 'POST to auxiliary resources is not allowed')
163163

164164
if (slug.match(/\/|\||:/)) {
165165
throw error(400, 'The name of new file POSTed may not contain : | or /')

0 commit comments

Comments
 (0)