mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
remove false positive due to "\n" not being in the relevant relation
This commit is contained in:
@@ -123,4 +123,6 @@ app.use(function(req, res) {
|
||||
result += replaced;
|
||||
result = result.replace(/^\s+|\s+$/g, ''); // NOT OK
|
||||
})();
|
||||
|
||||
tainted.match(/(https?:\/\/[^\s]+)/gm); // OK
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user