Skip to content

Commit 3ca40da

Browse files
committed
changed to 'originalUrl' (there are 2 open pull requests in this issue)
1 parent 4f1e9b5 commit 3ca40da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/acl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ Acl.prototype.middleware = function(numPathComponents, userId, actions){
585585
return;
586586
}
587587

588-
url = req.url.split('?')[0];
588+
url = req.originalUrl.split('?')[0];
589589
if(!numPathComponents){
590590
resource = url;
591591
}else{

0 commit comments

Comments
 (0)