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 0f58634 commit f906322Copy full SHA for f906322
lib/ldp.js
@@ -243,7 +243,7 @@ class LDP {
243
'PUT request requires a content-type via the Content-Type header')
244
}
245
246
- // reject resource with % encoded $ extension
+ // reject resource with percent-encoded $ extension
247
const dollarExtensionRegex = /%(?:24)\.[^%(?:24)]*$/ // /\$\.[^$]*$/
248
if ((url.url || url).match(dollarExtensionRegex)) {
249
throw error(400, 'Resource with a $.ext is not allowed by the server')
0 commit comments