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.
2 parents 2ae4426 + d41a224 commit 00c536aCopy full SHA for 00c536a
src/acl.js
@@ -337,7 +337,7 @@ UI.acl.getACLorDefault = function (doc, callbackFunction) {
337
}
338
var right = uri.lastIndexOf('/')
339
var left = uri.indexOf('/', uri.indexOf('//') + 2)
340
- if (left >= right) {
+ if (left > right) {
341
return callbackFunction(false, true, 404, 'Found no ACL resource')
342
343
uri = uri.slice(0, right + 1)
0 commit comments