We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daac7f7 commit 56020d1Copy full SHA for 56020d1
lib/acl-checker.js
@@ -55,7 +55,7 @@ class ACLChecker {
55
resource = rdf.sym(this.resource.substring(0, this.resource.length - this.suffix.length))
56
}
57
// If the slug is an acl, reject
58
- if (this.isAcl(decodeURIComponent(this.slug))) {
+ if (this.isAcl(this.slug)) {
59
this.aclCached[cacheKey] = Promise.resolve(false)
60
return this.aclCached[cacheKey]
61
@@ -174,7 +174,7 @@ class ACLChecker {
174
suffix: ldp.suffixAcl,
175
strictOrigin: ldp.strictOrigin,
176
trustedOrigins,
177
- slug: req.headers['slug']
+ slug: decodeURIComponent(req.headers['slug'])
178
})
179
180
0 commit comments