Skip to content

Commit f906322

Browse files
bourgeoaTallTed
andauthored
Update lib/ldp.js
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 0f58634 commit f906322

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
@@ -243,7 +243,7 @@ class LDP {
243243
'PUT request requires a content-type via the Content-Type header')
244244
}
245245

246-
// reject resource with % encoded $ extension
246+
// reject resource with percent-encoded $ extension
247247
const dollarExtensionRegex = /%(?:24)\.[^%(?:24)]*$/ // /\$\.[^$]*$/
248248
if ((url.url || url).match(dollarExtensionRegex)) {
249249
throw error(400, 'Resource with a $.ext is not allowed by the server')

0 commit comments

Comments
 (0)