Work-around to handle special chars in action ... currently to be able to match {userId} in hint creation/assignment for IDOR
This commit is contained in:
parent
dd18e68660
commit
89e2fc109c
@ -77,7 +77,7 @@ function($,
|
||||
filterHint: function(endpoint) {
|
||||
var self = this;
|
||||
_.each(this.collection.models, function(hintModel) {
|
||||
if (endpoint.indexOf(hintModel.get('assignmentPath')) > -1) {
|
||||
if (endpoint.indexOf(hintModel.get('assignmentPath')) > -1 || decodeURIComponent(endpoint).indexOf(hintModel.get('assignmentPath')) > -1) {
|
||||
self.hintsToShow.push(hintModel.get('hint'));
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user