Updated web template handling of no template
This commit is contained in:
@@ -422,7 +422,7 @@ func (tapit *Tapit) webTemplateRouteHandler(w http.ResponseWriter, r *http.Reque
|
||||
newVisit.BodyContent = string(requestBody)
|
||||
rawReqBytes, err := httputil.DumpRequest(r, true)
|
||||
if err == nil {
|
||||
newVisit.RawRequest = string(rawReqBytes)
|
||||
newVisit.RawRequest = string(rawReqBytes) + string(requestBody)
|
||||
}
|
||||
|
||||
// Update visited status
|
||||
|
||||
Reference in New Issue
Block a user