Skip to content

Commit

Permalink
updated logic to include query param
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitsuthar committed Oct 9, 2024
1 parent 1f76419 commit 152da07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/instrumentation-security/core/request-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ function setRequest(id, requestData) {
requestMap.set(id, requestData);
try {
const stringToMatch = requestData.url;
const filteredString = stringToMatch.split('?')[0];
// const filteredString = stringToMatch.split('?')[0];
const filteredString = stringToMatch;
let isRegexMatchestoURL = false;
for (let index = 0; index < regexPatterns.length; index++) {
const regex = new RegExp(regexPatterns[index], 'gm');
Expand Down

0 comments on commit 152da07

Please sign in to comment.