fix a bad regex that occasionally threw an error
'nothing to repeat'
This commit is contained in:
@@ -224,7 +224,7 @@ define([
|
||||
}
|
||||
});
|
||||
|
||||
var whoami = new RegExp(userName.replace(/\/\+/g, function (c) {
|
||||
var whoami = new RegExp(userName.replace(/[\/\+]/g, function (c) {
|
||||
return '\\' +c;
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user