Skip to content

Commit b775bee

Browse files
author
Nicolas Casaux
committed
Fixed case where header value contains a colon
1 parent e0f71e6 commit b775bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/delirius325/jmeter/backendlistener/elasticsearch/ElasticSearchMetric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private void parseHeadersAsJsonProps(boolean allReqHeaders, boolean allResHeader
196196

197197
for(String[] lines : headersArrayList) {
198198
for(int i=0; i < lines.length; i++) {
199-
String[] header = lines[i].split(":");
199+
String[] header = lines[i].split(":",2);
200200

201201
// if not all req headers and header contains special X-tag
202202
if(header.length > 1) {

0 commit comments

Comments
 (0)