Rename URL field to Target URI in the UI to prevent confusion (#509)

This commit is contained in:
M. Mert Yıldıran
2021-11-25 20:15:43 +03:00
committed by GitHub
parent 86240e4121
commit e667597e6e

View File

@@ -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",