From f958de6619b00783e05550601d1caf4dfa739d91 Mon Sep 17 00:00:00 2001 From: RamiBerm Date: Sun, 30 May 2021 15:49:02 +0300 Subject: [PATCH] Update messageSensitiveDataCleaner.go --- api/pkg/utils/messageSensitiveDataCleaner.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/pkg/utils/messageSensitiveDataCleaner.go b/api/pkg/utils/messageSensitiveDataCleaner.go index 595751ff7..d87e21e8d 100644 --- a/api/pkg/utils/messageSensitiveDataCleaner.go +++ b/api/pkg/utils/messageSensitiveDataCleaner.go @@ -14,6 +14,9 @@ func FilterSensitiveInfoFromHarRequest(harOutputItem *tap.OutputChannelItem) { filterHarHeaders(harOutputItem.HarEntry.Request.Headers) filterHarHeaders(harOutputItem.HarEntry.Response.Headers) + harOutputItem.HarEntry.Request.Cookies = nil + harOutputItem.HarEntry.Response.Cookies = nil + harOutputItem.HarEntry.Request.URL = filterUrl(harOutputItem.HarEntry.Request.URL) for i, queryString := range harOutputItem.HarEntry.Request.QueryString { if isFieldNameSensitive(queryString.Name) {