Update main.go, tap.go, and 4 more files...

This commit is contained in:
RamiBerm
2021-07-21 10:49:27 +03:00
parent ef8314b554
commit 80e97e7f7e
6 changed files with 10 additions and 5 deletions

View File

@@ -142,7 +142,9 @@ func filterHarItems(inChannel <-chan *tap.OutputChannelItem, outChannel chan *ta
continue
}
sensitiveDataFiltering.FilterSensitiveInfoFromHarRequest(message, filterOptions)
if !filterOptions.DisableRedaction {
sensitiveDataFiltering.FilterSensitiveInfoFromHarRequest(message, filterOptions)
}
outChannel <- message
}