Skip to content

Commit

Permalink
The first PV name is duplicated in the query string
Browse files Browse the repository at this point in the history
  • Loading branch information
slacmshankar committed Jul 5, 2024
1 parent e7adcce commit 73eb881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final GenMsgIterator getDataForPVs(
} else {
buf.append("?pv=").append(first_encoded);
}
for (var pvName : pvNames) {
for (var pvName : pvNames.subList(1, pvNames.size())) {
buf.append("&pv=").append(URLEncoder.encode(pvName, StandardCharsets.UTF_8));
}
buf.append("&from=").append(convertToUTC(startTime)).append("&to=").append(convertToUTC(endTime));
Expand Down

0 comments on commit 73eb881

Please sign in to comment.