From 6bd91cff24e65ce0e687141de12f14867f6a3ea7 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 12 Mar 2023 16:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request.go b/internal/nodes/http_request.go index 21b3347..4d02981 100644 --- a/internal/nodes/http_request.go +++ b/internal/nodes/http_request.go @@ -860,7 +860,7 @@ func (this *HTTPRequest) Format(source string) string { } // response.xxx.xxx - dotIndex := strings.Index(suffix, ".") + dotIndex = strings.Index(suffix, ".") if dotIndex < 0 { return "${" + varName + "}" }