From e667597e6eca8db6cdd765d762f73291eb6f340c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Mert=20Y=C4=B1ld=C4=B1ran?= Date: Thu, 25 Nov 2021 20:15:43 +0300 Subject: [PATCH] Rename `URL` field to `Target URI` in the UI to prevent confusion (#509) --- tap/extensions/http/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tap/extensions/http/main.go b/tap/extensions/http/main.go index 2bebe7721..531c030f0 100644 --- a/tap/extensions/http/main.go +++ b/tap/extensions/http/main.go @@ -162,6 +162,7 @@ func (d dissecting) Analyze(item *api.OutputChannelItem, resolvedSource string, } request["url"] = reqDetails["url"].(string) + reqDetails["targetUri"] = reqDetails["url"] reqDetails["path"] = path reqDetails["summary"] = path @@ -269,9 +270,9 @@ func representRequest(request map[string]interface{}) (repRequest []interface{}) Selector: `request.method`, }, { - Name: "URL", - Value: request["url"].(string), - Selector: `request.url`, + Name: "Target URI", + Value: request["targetUri"].(string), + Selector: `request.targetUri`, }, { Name: "Path",