Skip to content

Commit

Permalink
长轮询参数校验逻辑,修复不存在的空命名空间配置校验失败bug (#11442)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiyue1102 authored Nov 28, 2023
1 parent bb7a6ce commit 99295f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public List<ParamInfo> extractParam(HttpServletRequest request) throws NacosRunt
for (String line : lines) {
ParamInfo paramInfo = new ParamInfo();
String[] words = line.split(Character.toString(WORD_SEPARATOR_CHAR));
if (words.length < 3 || words.length > 4) {
if (words.length < 2 || words.length > 4) {
throw new IllegalArgumentException("invalid probeModify");
}
paramInfo.setDataId(words[0]);
Expand Down

0 comments on commit 99295f8

Please sign in to comment.